Skip to content

Commit 44790d2

Browse files
authored
Merge pull request #26 from mathoudebine/dev/update-ha-2026.02
Fix navigation bar not hiding in HA 2026.02
2 parents 5171f5f + 680cdd4 commit 44790d2

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/validate.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: "HACS Validation"
2+
23
on:
34
push:
45
pull_request:
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
510
jobs:
6-
ci:
7-
runs-on: ubuntu-latest
11+
validate-hacs:
12+
runs-on: "ubuntu-latest"
813
steps:
9-
- uses: actions/checkout@v6
10-
name: Download repo
14+
- name: HACS validation
15+
uses: "hacs/action@main"
1116
with:
12-
fetch-depth: 0
13-
- uses: hacs/action@main
14-
with:
15-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16-
CATEGORY: plugin
17+
CATEGORY: "plugin"

browser-control-card.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ function hideNavbar(hideNavbar) {
6868
// Changed with 2023.04
6969
appToolbar = huiRoot.querySelector("div.toolbar");
7070
}
71+
if (!appToolbar) {
72+
// Changed with 2026.02
73+
appToolbar = huiRoot.querySelector("div.header");
74+
}
7175
if (hideNavbar) {
7276
appToolbar.style.setProperty("display", "none");
7377
view.style.minHeight = "100vh";

0 commit comments

Comments
 (0)