Parcourir la source

Merge branch 'master' into support/typescriptize-searchform

Yuki Takei il y a 4 ans
Parent
commit
cc51eb4746
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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;