From 79942b7720e7d37183b83143e4a4c37cdb3ecd7d Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Fri, 27 Feb 2026 16:12:56 +0100 Subject: [PATCH] Fix the page sidebar height It has to be the viewer height but with a padding of 8px. --- web/views_manager.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/views_manager.css b/web/views_manager.css index 99ac07b4f..94fa8bb27 100644 --- a/web/views_manager.css +++ b/web/views_manager.css @@ -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;