Преглед изворни кода

Use percent-based sizing for body min-height; add explicit height to the html element.

Paulo Reis пре 9 година
родитељ
комит
97c5e33f54
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      services/web/public/stylesheets/core/scaffolding.less

+ 2 - 1
services/web/public/stylesheets/core/scaffolding.less

@@ -21,6 +21,7 @@
 html {
   //font-size: 62.5%;
   -webkit-tap-highlight-color: rgba(0,0,0,0);
+  height: 100%;
 }
 
 body {
@@ -29,7 +30,7 @@ body {
   line-height: @line-height-base;
   color: @text-color;
   background-color: @body-bg;
-  min-height: 100vh;
+  min-height: 100%;
   position: relative;
   padding-top: @header-height;
   padding-bottom: @footer-height;