mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-05-11 21:27:31 +08:00
fix: support iOS safe area for header
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
--primary-color-hover: rgb(9, 95, 105);
|
||||
--primary-color: rgb(10, 110, 120);
|
||||
--primary-color-disabled: rgba(93, 152, 156, 0.5);
|
||||
--header-height: 60px;
|
||||
--safe-area-inset-top: constant(safe-area-inset-top);
|
||||
--safe-area-inset-top: env(safe-area-inset-top);
|
||||
--header-height: calc(60px + var(--safe-area-inset-top));
|
||||
--header-background-color: white;
|
||||
--header-border-color: lightgray;
|
||||
--header-text-color: black;
|
||||
|
||||
Reference in New Issue
Block a user