Fix window-height css variable
This commit is contained in:
parent
f59e35ea0a
commit
c85bbb3b20
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ body {
|
||||||
--titlebar-height: calc(28px / var(--zoom-factor));
|
--titlebar-height: calc(28px / var(--zoom-factor));
|
||||||
--window-width: calc(100vw - 2 * var(--window-border));
|
--window-width: calc(100vw - 2 * var(--window-border));
|
||||||
--window-height: calc(
|
--window-height: calc(
|
||||||
100vh - var(--titlebar-height) - 2 * var(--window-border)
|
100vh - var(--titlebar-height) - var(--window-border)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
height: calc(100vh - var(--titlebar-height));
|
height: var(--window-height);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue