From 1f1fccde8dee31ac8428d8b991815b170971ccca Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 30 Apr 2024 17:27:28 -0300 Subject: content: generatePageSidebarBox: collapsible slot Makes collapsibility a function of the boxes in a sidebar, rather than a property of the sidebar (column) itself. --- src/static/site6.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/static') diff --git a/src/static/site6.css b/src/static/site6.css index b27a1fbb..66518d3b 100644 --- a/src/static/site6.css +++ b/src/static/site6.css @@ -2313,7 +2313,8 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content /* Layout - Medium or Thin */ @media (max-width: 899.98px) { - .sidebar-column:not(.no-hide) { + .sidebar.collapsible, + .sidebar-column.all-boxes-collapsible { display: none; } @@ -2321,15 +2322,15 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content display: block; } - .layout-columns.vertical-when-thin { + .layout-columns { flex-direction: column; } - .layout-columns.vertical-when-thin > *:not(:last-child) { + .layout-columns > *:not(:last-child) { margin-bottom: 10px; } - .sidebar-column.no-hide { + .sidebar-column { max-width: unset !important; flex-basis: unset !important; margin-right: 0 !important; -- cgit 1.3.0-6-gf8a5