Merge pull request #20758 from calixteman/fix_sidebar_height

Fix the page sidebar height
This commit is contained in:
Tim van der Meij 2026-03-01 19:58:18 +01:00 committed by GitHub
commit 9dfcc62bb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,7 @@
--sidebar-width: 230px;
--sidebar-min-width: min-content;
--sidebar-max-width: 50vw;
--sidebar-block-padding: 8px;
--text-color: light-dark(#15141a, #fbfbfe);
--button-fg: var(--text-color);
@ -176,9 +177,9 @@
padding-bottom: 16px;
flex-direction: column;
align-items: flex-start;
inset-block-start: calc(100% + var(--sidebar-block-padding));
height: calc(
var(--viewer-container-height) - var(--toolbar-height) -
var(--doorhanger-height)
var(--viewer-container-height) - 2 * var(--sidebar-block-padding)
);
position: absolute;