Przeglądaj źródła

adjust for anchor links by the height of fixed .search-page-input

Yuki Takei 7 lat temu
rodzic
commit
922ff1060a
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      src/client/styles/scss/_search.scss

+ 4 - 0
src/client/styles/scss/_search.scss

@@ -147,6 +147,10 @@
     padding-bottom: 32px;
 
     .search-result-page {
+      // adjust for fixed .search-page-input
+      margin-top: -60px;
+      padding-top: 60px;
+
       > h2 {
         font-size: 20px;
         line-height: 1em;