Use dvh wherever possible

This commit is contained in:
Lim Chee Aun 2022-12-15 12:38:30 +08:00
parent f7d2f6fdac
commit b987b525ef

View file

@ -307,6 +307,7 @@ a.mention span {
border: 1px solid var(--divider-color); border: 1px solid var(--divider-color);
overflow: auto; overflow: auto;
max-height: 90vh; max-height: 90vh;
max-height: 90dvh;
position: relative; position: relative;
} }
.box > :is(h1, h2, h3):first-of-type { .box > :is(h1, h2, h3):first-of-type {
@ -464,6 +465,7 @@ button.carousel-dot[disabled].active {
.sheet { .sheet {
align-self: flex-end; align-self: flex-end;
max-height: 90vh; max-height: 90vh;
max-height: 90dvh;
overflow: auto; overflow: auto;
overflow-x: hidden; overflow-x: hidden;
background-color: var(--bg-color); background-color: var(--bg-color);