瀏覽代碼

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

Matt Toback 10 年之前
父節點
當前提交
45e232ef62
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/sass/layout/_page.scss

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

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