Yuki Takei 4 лет назад
Родитель
Сommit
6b45a0553b
1 измененных файлов с 12 добавлено и 2 удалено
  1. 12 2
      packages/app/src/styles/_search.scss

+ 12 - 2
packages/app/src/styles/_search.scss

@@ -85,7 +85,7 @@
   }
 }
 
-// layout
+// layout for GlobalSearch
 .grw-global-search-top {
   // centering on navbar
   top: $grw-navbar-height / 2;
@@ -121,7 +121,12 @@
   }
 }
 
-.search-result {
+// layout
+.on-search {
+  .page-wrapper {
+    padding-bottom: unset;
+  }
+
   .search-control {
     padding: 5px 0;
   }
@@ -143,7 +148,12 @@
       // subtract the height of GrowiNavbar + (SearchControl component + other factors)
       height: calc(100vh - (($grw-navbar-height + $grw-navbar-border-width) + 110px));
       overflow-y: scroll;
+
+      @include media-breakpoint-down(sm) {
+        height: calc(100vh - (($grw-navbar-height + $grw-navbar-border-width + $grw-navbar-bottom-height) + 123px));
+      }
     }
+
     .nav.nav-pills {
       > .grw-search-result-item {
         min-height: 136px;