User commited on
Commit
92025cf
·
1 Parent(s): 4b4026c

adjust: sidebar length fixed

Browse files
TaskTrackingSystem.WebApp/wwwroot/app.css CHANGED
@@ -492,6 +492,7 @@ html.dark .flatpickr-day.endRange {
492
 
493
  /* Taskify UI system */
494
  .app-shell {
 
495
  display: flex;
496
  min-height: 100vh;
497
  background:
@@ -504,7 +505,7 @@ html.dark .flatpickr-day.endRange {
504
  .app-sidebar {
505
  position: relative;
506
  display: flex;
507
- width: 17rem;
508
  min-height: 100vh;
509
  flex-shrink: 0;
510
  flex-direction: column;
@@ -619,6 +620,27 @@ html.dark .flatpickr-day.endRange {
619
  padding: clamp(1rem, 2vw, 2rem);
620
  }
621
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  .mobile-sidebar-toggle,
623
  .mobile-sidebar-close {
624
  display: none;
 
492
 
493
  /* Taskify UI system */
494
  .app-shell {
495
+ --app-sidebar-width: 18rem;
496
  display: flex;
497
  min-height: 100vh;
498
  background:
 
505
  .app-sidebar {
506
  position: relative;
507
  display: flex;
508
+ width: var(--app-sidebar-width);
509
  min-height: 100vh;
510
  flex-shrink: 0;
511
  flex-direction: column;
 
620
  padding: clamp(1rem, 2vw, 2rem);
621
  }
622
 
623
+ @media (min-width: 1024px) {
624
+ .app-shell {
625
+ height: 100dvh;
626
+ min-height: 100dvh;
627
+ padding-left: var(--app-sidebar-width);
628
+ }
629
+
630
+ .app-shell .app-sidebar {
631
+ position: fixed;
632
+ inset: 0 auto 0 0;
633
+ height: 100dvh;
634
+ min-height: 100dvh;
635
+ transform: translateX(0);
636
+ }
637
+
638
+ .app-main {
639
+ height: 100dvh;
640
+ min-height: 100dvh;
641
+ }
642
+ }
643
+
644
  .mobile-sidebar-toggle,
645
  .mobile-sidebar-close {
646
  display: none;