Unified safe area (insets) for Android and iOS (#23811)

* feat: Introduce new css variables for safe area

* feat: Replace all safe area env with variable

* fix: CR fix move from derived styles to styles and rename
This commit is contained in:
Grzegorz Libiszewski
2025-03-13 09:20:54 +01:00
committed by GitHub
parent 4f9ec622bf
commit ee10f9080d
49 changed files with 165 additions and 149 deletions

View File

@@ -1066,7 +1066,7 @@ export class HaScriptEditor extends SubscribeMixin(
}
ha-fab {
position: relative;
bottom: calc(-80px - env(safe-area-inset-bottom));
bottom: calc(-80px - var(--safe-area-inset-bottom));
transition: bottom 0.3s;
}
ha-fab.dirty {