diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-30 17:27:28 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-01 20:22:38 -0300 |
commit | 1f1fccde8dee31ac8428d8b991815b170971ccca (patch) | |
tree | 2d3200ad2df5a8aa8ebe61a59c923d6809c6d9b6 /src/static | |
parent | 97f587966f6239821589bd5c137b9875e7ae29b0 (diff) |
content: generatePageSidebarBox: collapsible slot
Makes collapsibility a function of the boxes in a sidebar, rather than a property of the sidebar (column) itself.
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/site6.css | 9 |
1 files changed, 5 insertions, 4 deletions
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; |