Explorar el Código

Added a calc to make the page height 100%. Well supported, verified on caniuse

Matt Toback hace 10 años
padre
commit
45e232ef62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/sass/layout/_page.scss

+ 1 - 1
public/sass/layout/_page.scss

@@ -28,7 +28,7 @@
   padding: ($spacer * 2) ($spacer * 4);
   padding: ($spacer * 2) ($spacer * 4);
   max-width: 1060px;
   max-width: 1060px;
   margin-left: 0;
   margin-left: 0;
-  //min-height: 100%;
+  min-height: calc(100% - 54px);
   padding-bottom: $spacer * 5;
   padding-bottom: $spacer * 5;
 }
 }