This commit is contained in:
parent
fd1c6fae99
commit
8d24ffec29
1 changed files with 2 additions and 2 deletions
|
@ -46,6 +46,6 @@ Use physical directions to avoid trouble, like "margin-top, margin-bottom".
|
||||||
|
|
||||||
## Safe area insets
|
## Safe area insets
|
||||||
|
|
||||||
For isolating control of the UI effect, we already setup css variables `--safe-area-insets-*`. In components, you should use the variables unless you have reasons to use `env()`.
|
For isolating control of the UI effect, we already setup css variables `--safe-area-inset-*`. In components, you should use the variables unless you have reasons to use `env()`.
|
||||||
|
|
||||||
Using `--safe-area-insets-*`, you can control the global value in settings (under dev mode).
|
Using `--safe-area-inset-*`, you can control the global value in settings (under dev mode).
|
||||||
|
|
Loading…
Reference in a new issue