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

* feat: Introduce new css variables for safe area

* feat: Replace all safe area env with variable
This commit is contained in:
Grzegorz Libiszewski
2025-05-22 07:11:04 +02:00
committed by GitHub
parent 754829a836
commit c3e155a95c
52 changed files with 164 additions and 146 deletions

View File

@@ -1056,7 +1056,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 {