Selaa lähdekoodia

Layout css modify

caiaa 1 vuosi sitten
vanhempi
sitoutus
e433b69d29
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      src/styles/index.scss
  2. 1 1
      src/styles/sidebar.scss

+ 1 - 1
src/styles/index.scss

@@ -12,7 +12,7 @@ html {
 }
 
 body {
-  height: calc(100% - #{$headerHeight});
+  height: 100%;
   -moz-osx-font-smoothing: grayscale;
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;

+ 1 - 1
src/styles/sidebar.scss

@@ -4,7 +4,7 @@
     min-height: 100%;
     transition: margin-left .28s;
     margin-left: $sideBarWidth;
-    margin-top: $headerHeight;
+    padding-top: $headerHeight;
     position: relative;
     background-color: #f5f8fe;
     padding-left: 5px;