From 5949321a55f2f471c5853a48f6973dc92010f31f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 11 Oct 2026 08:31:54 +0200 Subject: [PATCH] fix(filebrowser_quantum): remove doubled status-bar inset in the HA app (#3111) * fix(filebrowser_quantum): drop the doubled status-bar inset in the HA app 2.0 sets viewport-fit=cover and pads its header by env(safe-area-inset-top); inside the ingress panel HA's toolbar already handles that inset. Rewrite it to viewport-fit=auto on the ingress listener only. Co-Authored-By: Claude Opus 5.5 * fix(filebrowser_quantum): zero only the top safe-area inset on ingress Replace the viewport-fit rewrite with --safe-area-top: 0px set on from the existing nonce script. It touches only the top inset (bottom and side insets keep upstream behaviour) and works whether or not the browser passes the parent's insets into the ingress iframe. Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- filebrowser_quantum/CHANGELOG.md | 3 +++ filebrowser_quantum/config.yaml | 2 +- .../rootfs/etc/nginx/servers/ingress.conf | 11 ++++++++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/filebrowser_quantum/CHANGELOG.md b/filebrowser_quantum/CHANGELOG.md index f206a67b55..71c5ac8fa6 100644 --- a/filebrowser_quantum/CHANGELOG.md +++ b/filebrowser_quantum/CHANGELOG.md @@ -1,4 +1,7 @@ +## 2.0.0.2 (2026-10-11) +- Remove the empty band above the search bar in the Home Assistant app (portrait): 2.0 padded its header for the phone status bar, which HA already does. The top inset is set to 0 on ingress only. + ## 2.0.0.1 (2026-10-11) - ⚠️ **Back up before updating.** FileBrowser 2.0 changes the config format and the database. This add-on converts both automatically, but you should first create a Home Assistant backup of the add-on, or copy `/addon_configs/*filebrowser_quantum*/` (`config.yaml` and `database.db`). Your 1.x `database.db` is left untouched, but downgrading after the migration loses any changes made in 2.0. - Fix startup on 2.0.0, for fresh installs and upgrades (#3109). diff --git a/filebrowser_quantum/config.yaml b/filebrowser_quantum/config.yaml index 155dbb87b7..9571cf9921 100644 --- a/filebrowser_quantum/config.yaml +++ b/filebrowser_quantum/config.yaml @@ -117,4 +117,4 @@ schema: slug: filebrowser_quantum udev: true url: https://github.com/alexbelgium/hassio-addons -version: "2.0.0.1" +version: "2.0.0.2" diff --git a/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf b/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf index bec1083c04..79c38cd7b4 100644 --- a/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf +++ b/filebrowser_quantum/rootfs/etc/nginx/servers/ingress.conf @@ -13,12 +13,12 @@ server { proxy_read_timeout 30m; proxy_pass %%protocol%%://backend%%subpath%%; - # Two things the ingress panel needs that a plain browser tab does not. + # Three things the ingress panel needs that a plain browser tab does not. # Both are injected into the page's existing nonce-carrying inline script # rather than next to
: FileBrowser sends # script-src 'self' 'nonce-', so a standalone inline