Fix window-height css variable

This commit is contained in:
Fedor Indutny 2023-03-01 15:45:29 -08:00 committed by GitHub
parent f59e35ea0a
commit c85bbb3b20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ body {
--titlebar-height: calc(28px / var(--zoom-factor));
--window-width: calc(100vw - 2 * var(--window-border));
--window-height: calc(
100vh - var(--titlebar-height) - 2 * var(--window-border)
100vh - var(--titlebar-height) - var(--window-border)
);
}
}

View file

@ -60,7 +60,7 @@
}
&__content {
height: calc(100vh - var(--titlebar-height));
height: var(--window-height);
position: relative;
overflow: hidden;
}