fixed side bar issue

This commit is contained in:
Naser Mansour
2026-01-08 19:37:09 +02:00
parent 508ce8f918
commit 572dfd1f7f
2 changed files with 34 additions and 0 deletions
+15
View File
@@ -733,6 +733,21 @@ img, video, iframe {
@apply transition-opacity duration-200;
}
/* Sticky sidebar for desktop */
@media (min-width: 1024px) {
body:has(> [data-flux-sidebar]) {
display: flex;
align-items: flex-start;
}
[data-flux-sidebar] {
position: sticky !important;
top: 0 !important;
height: 100vh !important;
flex-shrink: 0;
}
}
/* Calendar responsive - smaller cells on mobile */
.calendar-grid {
@apply grid grid-cols-7 gap-1;