mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-15 05:50:24 +00:00
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:
committed by
GitHub
parent
754829a836
commit
c3e155a95c
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user