mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-12 12:30:47 +00:00
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:
committed by
GitHub
parent
4f9ec622bf
commit
ee10f9080d
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user