diff --git a/docslib/templates/client.css b/docslib/templates/client.css index 694a223..7251188 100644 --- a/docslib/templates/client.css +++ b/docslib/templates/client.css @@ -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; } diff --git a/tests/test_server.py b/tests/test_server.py index b4db2c8..5bb56c0 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -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