Browse Source

fix sidebar height

Yuki Takei 4 năm trước cách đây
mục cha
commit
478bc90caa
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;