Bläddra i källkod

Try to address flexbox issues with IE 10-11

Actually this still doesn't work with IE (:angry:), anyway it neither breaks IEs rendering (it's just like there's no flexbox...) nor the rendering of useful browser. So I don't give a f**k about IE... :wink:
Daniel Rudolf 9 år sedan
förälder
incheckning
c9278fa082
1 ändrade filer med 7 tillägg och 2 borttagningar
  1. 7 2
      style.css

+ 7 - 2
style.css

@@ -420,15 +420,20 @@ blockquote p {
 /*-----------------------------------------------------------------------------------*/
 .body-wrapper {
     display: flex;
-    min-height: 100vh;
     flex-direction: column;
+    min-height: 100vh;
+    height: 100%;
+}
+.body-wrapper > * {
+    flex: none;
+    width: 100%;
 }
 .top-wrapper {
     background: #2a2a2a
 }
 .light-wrapper,
 .dark-wrapper {
-    flex: 1;
+    flex: 1 0 auto;
 }
 .light-wrapper {
     background: #FFF