Sidebar fix

Styles now actually get applied and sidebar doesn't block content
Also the login page doesn't have a sidebar now
This commit is contained in:
2026-05-02 19:09:41 +02:00
parent 4a3d432e9a
commit 931bd27c65
6 changed files with 64 additions and 10 deletions
+15
View File
@@ -14,6 +14,21 @@ body {
.admin { display: flex; }
.content { flex: 1; padding: variables.$spacing-md; }
.layout {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 260px;
flex-shrink: 0;
}
.content {
flex: 1;
min-width: 0;
}
@media (max-width: 768px) {
.sidebar { position: fixed; left: -100%; transition: left .2s; }
.sidebar.open { left: 0; }