Просмотр исходного кода

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

fix: Sidebar height is a little large
Yuki Takei 4 лет назад
Родитель
Сommit
090d7e853a
1 измененных файлов с 2 добавлено и 1 удалено
  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;