From 89b077bbae80af61f3d8aa381e546be516f8bd10 Mon Sep 17 00:00:00 2001 From: htmltiger <1429451+htmltiger@users.noreply.github.com> Date: Sun, 2 Apr 2023 16:05:39 +0100 Subject: [PATCH] fix top bar position for homeassistant 2023.4.x --- config-editor-card.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-editor-card.js b/config-editor-card.js index 8fde7e6..3374f7a 100644 --- a/config-editor-card.js +++ b/config-editor-card.js @@ -1,4 +1,4 @@ -console.info("Config Editor 4.5"); +console.info("Config Editor 4.6"); const LitElement = window.LitElement || Object.getPrototypeOf(customElements.get("hui-masonry-view") ); const html = LitElement.prototype.html; const css = LitElement.prototype.css; @@ -50,7 +50,7 @@ static get styles() { position:sticky; z-index:2;} .pin{ - top: var(--header-height, 0); + top:0; background:var(--secondary-background-color,silver)} .bar{ bottom:0;