Quellcode durchsuchen

fix sidebar height

Yuki Takei vor 4 Jahren
Ursprung
Commit
478bc90caa
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      packages/app/src/styles/_sidebar.scss

+ 2 - 1
packages/app/src/styles/_sidebar.scss

@@ -22,7 +22,8 @@
   position: sticky;
   top: $grw-navbar-border-width;
 
-  height: 100vh;
+  // set the max value that should be taken when sticky
+  height: calc(100vh - $grw-navbar-border-width);
 
   .grw-navigation-resize-button {
     position: fixed;