Explorar o código

Merge pull request #4988 from weseek/fix/sidebar-height

fix: Sidebar height is a little large
Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
090d7e853a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;