From 619a7bb0366bb246d15bd70ebb94727116fb6608 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 11 Nov 2022 22:55:13 +0100 Subject: [PATCH] Fixed spacing if toolbars are hidden --- src/history-explorer-card.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/history-explorer-card.js b/src/history-explorer-card.js index daa7384..a74294d 100644 --- a/src/history-explorer-card.js +++ b/src/history-explorer-card.js @@ -2017,12 +2017,12 @@ class HistoryCardState { { let html = ''; - if( this.ui.stickyTools & (1<`; } - html += `
`; + if( timeline || selector ) html += `
`; const eh = ``; @@ -2094,11 +2094,11 @@ class HistoryCardState {
`; - html += `
`; + if( timeline || selector ) html += ``; html += ``; - if( this.ui.stickyTools & (1<`; + if( (timeline || selector) && (this.ui.stickyTools & (1<`; return html; }