Browse Source

fix sidebar height

Yuki Takei 4 years ago
parent
commit
478bc90caa
1 changed files with 2 additions and 1 deletions
  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;