custom_components/bahmcloud_store/panel/panel.js aktualisiert
This commit is contained in:
@@ -93,7 +93,11 @@ class BahmcloudStorePanel extends HTMLElement {
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
--bcs-accent: #1E88E5; /* Bahmcloud Blue (v1 default) */
|
||||
/* Do NOT force viewport height on mobile.
|
||||
Let Home Assistant handle layout (header/sidebar). */
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
--bcs-accent: #1E88E5; /* Bahmcloud Blue */
|
||||
}
|
||||
|
||||
.wrap {
|
||||
@@ -278,7 +282,6 @@ class BahmcloudStorePanel extends HTMLElement {
|
||||
const content = root.getElementById("content");
|
||||
const err = root.getElementById("error");
|
||||
|
||||
// Subtitle version (no hardcoding)
|
||||
const subtitle = root.getElementById("subtitle");
|
||||
const v = this._data?.version ? String(this._data.version) : null;
|
||||
subtitle.textContent = v ? `BCS ${v}` : "BCS — loading…";
|
||||
|
||||
Reference in New Issue
Block a user