From cda49e03018d3dbbe8b9dc3927719471150c1608 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Tue, 24 Sep 2019 14:10:57 +0800 Subject: update: perfect animation, compatibility issue --- _sass/yat/_base.scss | 2 +- _sass/yat/_layout.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to '_sass/yat') diff --git a/_sass/yat/_base.scss b/_sass/yat/_base.scss index e92c561..01b8d1a 100644 --- a/_sass/yat/_base.scss +++ b/_sass/yat/_base.scss @@ -229,7 +229,7 @@ table { /** * Flex layout */ -%flex-layout { +%flex { display: flex; } diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index e4960f1..50bbb13 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -200,6 +200,7 @@ html { */ .page-content { @extend %flex-1; /* <-- Keep footer on the bottom */ + -ms-flex: none; /* <-- Fix IE footer issue */ padding: $spacing-unit * 1.5 0; } @@ -378,7 +379,7 @@ html { * Layout and sidebar */ .framework { - @extend %flex-layout; + @extend %flex; .main { @extend %flex-1; -- cgit v1.2.3