Explorar o código

website: set background color on root element (#3078)

Antoine du Hamel %!s(int64=3) %!d(string=hai) anos
pai
achega
acab28f54d
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      website/themes/uppy/source/css/_common.scss

+ 4 - 2
website/themes/uppy/source/css/_common.scss

@@ -1,7 +1,10 @@
 html { box-sizing: border-box; }
 *, *:after, *:before { box-sizing: inherit; }
 
-html, body { height: 100%; }
+html, body {
+  height: 100%;
+  background-color: $color-primary;
+}
 
 body {
   font-family: $fontFamily-body;
@@ -10,7 +13,6 @@ body {
   -moz-osx-font-smoothing: grayscale;
   color: $color-dark;
   margin: 0;
-  background-color: $color-primary;
 
   @media #{$screen-medium} {
     font-size: $fontSize-body;