Feat(sidebar): implement sidebar toggling #157

Merged
jakob.scheid merged 7 commits from feature/expandable-sidebar into main 2026-07-31 21:00:20 +02:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 0939379c0a - Show all commits
@@ -56,6 +56,10 @@ const toggleSidebar = function toggleSidebar () {
margin-bottom: 8px;
}
.sidebar:not(.expanded) .sidebar-controls {
padding: 1em;
}
@media (max-width: 48rem) {
.sidebar:not(.expanded) .sidebar-expand-button {
display: none;
+1 -1
View File
@@ -51,7 +51,7 @@ const toggleExpanded = function toggleExpanded () {
<style scoped>
.layout-container {
display: grid;
grid-template-columns: 72px 1fr;
grid-template-columns: calc(32px + 2em) 1fr;
grid-template-rows: auto 1fr;
grid-template-areas:
"sidebar-expand sidebar-expand"