Remove desktop sidebar top padding

This commit is contained in:
Server 2026-08-09 23:52:45 +00:00
parent 11dc45aa93
commit 2ec54f0ada
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@ button { color: inherit; }
.header-link:not(.active):not(:hover) { border-color: var(--border); }
.desktop-main { display: flex; min-width: 0; min-height: 0; flex: 1; overflow: hidden; }
.desktop-sidebar { display: flex; width: var(--desktop-sidebar-width); min-width: 0; height: 100%; flex: 0 0 var(--desktop-sidebar-width); flex-direction: column; overflow: hidden; padding: 20px 18px 22px; background: var(--shell); }
.desktop-sidebar { display: flex; width: var(--desktop-sidebar-width); min-width: 0; height: 100%; flex: 0 0 var(--desktop-sidebar-width); flex-direction: column; overflow: hidden; padding: 0 18px 22px; background: var(--shell); }
.sidebar-header-buttons { display: flex; flex: 0 0 auto; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.page-tree { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

View file

@ -76,6 +76,7 @@ def test_all_endpoints_and_self_contained_build(tmp_path):
assert "min-height: calc(100dvh - 240px)" not in html
assert "overflow-y: auto" in html
assert "flex: 1 1 auto; flex-direction: column" in html
assert "padding: 0 18px 22px" in html
assert "elements.pageSurface.scrollTo" in html
assert "font-family: system-ui; font-size: 16px" in html
assert ".glyph-button, .refresh-glyph { font-family: Arial" in html