Selaa lähdekoodia

set min-height to sidebar

Yuki Takei 5 vuotta sitten
vanhempi
sitoutus
cb9d8e25ca
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/client/styles/scss/_sidebar.scss

+ 2 - 1
src/client/styles/scss/_sidebar.scss

@@ -58,7 +58,7 @@
   // override @atlaskit/navigation-next styles
   // override @atlaskit/navigation-next styles
   $navbar-total-height: $grw-navbar-height + $grw-navbar-border-width;
   $navbar-total-height: $grw-navbar-height + $grw-navbar-border-width;
   div[data-layout-container='true'] {
   div[data-layout-container='true'] {
-    height: 100vh;
+    max-height: calc(100vh - #{$grw-navbar-border-width});
 
 
     // css-teprsg
     // css-teprsg
     > div:nth-of-type(2) {
     > div:nth-of-type(2) {
@@ -95,6 +95,7 @@
 
 
   .grw-sidebar-nav {
   .grw-sidebar-nav {
     height: 100vh;
     height: 100vh;
+    max-height: calc(100vh - #{$grw-navbar-border-width});
 
 
     .btn {
     .btn {
       width: $grw-sidebar-nav-width;
       width: $grw-sidebar-nav-width;