This commit is contained in:
2026-04-29 19:04:20 +08:00
parent df60e8dd42
commit 07d11a15af
58 changed files with 3937 additions and 520 deletions
+26
View File
@@ -0,0 +1,26 @@
// =============================================================================
// layout/_sidebar.scss
// =============================================================================
.widget-area {
.widget {
border-radius: var(--card-radius);
overflow: hidden;
.card-content {
padding-top: var(--space-3);
}
}
}
// Sticky sidebar on desktop.
@include desktop {
#secondary.widget-area {
position: sticky;
top: calc(var(--space-5) + 60px); // 60px = approx navbar height.
align-self: flex-start;
max-height: calc(100vh - 100px);
overflow-y: auto;
scrollbar-width: thin;
}
}