refactor(client): use dvh
This commit is contained in:
parent
1751bfea5f
commit
831be69cec
6 changed files with 9 additions and 28 deletions
|
|
@ -168,8 +168,7 @@ function more(ev: MouseEvent) {
|
|||
left: 0;
|
||||
z-index: 1001;
|
||||
width: $nav-icon-only-width;
|
||||
// ほんとは単に 100vh と書きたいところだが... https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
||||
height: calc(var(--vh, 1vh) * 100);
|
||||
height: 100dvh;
|
||||
box-sizing: border-box;
|
||||
overflow: auto;
|
||||
overflow-x: clip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue