diff --git a/public/templates/layout.html b/public/templates/layout.html
index e1d9e63..755bd3e 100644
--- a/public/templates/layout.html
+++ b/public/templates/layout.html
@@ -21,19 +21,27 @@
body {
display: flex;
flex-direction: column;
- min-height: 100vh;
+ height: 100vh;
+ overflow: hidden;
+ }
+
+ header {
+ flex-shrink: 0;
+ z-index: 1020;
}
.main-wrapper {
flex: 1;
display: flex;
- flex-direction: column;
+ overflow: hidden;
+ position: relative;
}
.content-wrapper {
flex: 1;
display: flex;
overflow: hidden;
+ width: 100%;
}
.sidebar {
@@ -43,15 +51,20 @@
overflow-y: auto;
flex-shrink: 0;
transition: margin-left 0.3s ease;
- }
- .sidebar.collapsed {
- margin-left: -250px;
+ height: 100%;
}
.main-content {
flex: 1;
overflow-y: auto;
padding: 20px;
+ height: 100%;
+ }
+
+ footer {
+ flex-shrink: 0;
+ z-index: 1020;
+ background-color: #f8f9fa;
}
.folder-toggle {