From b9085a483733ea32093d0f01ad12fa9d12a60fcf Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Wed, 15 Jul 2020 16:40:25 +0800 Subject: fix: header no margin issue --- _sass/yat/_layout.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index 1840257..570a3a0 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -73,9 +73,10 @@ html { margin: 0 60px; padding: 0; max-width: 100%; + transition: 0.2s margin; @include media-query(1024px) { - margin: unset; + margin: 0 20px; max-width: unset; } } -- cgit v1.2.3