summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffreytse <jeffreytse.mail@gmail.com>2020-07-15 16:40:25 +0800
committerjeffreytse <jeffreytse.mail@gmail.com>2020-07-15 16:40:25 +0800
commitb9085a483733ea32093d0f01ad12fa9d12a60fcf (patch)
tree21e69a6ae201b38bf314f363573c348566f8a186
parent4268430bc4c5e4190c66b9c993ea1f2bfca698db (diff)
fix: header no margin issue
-rw-r--r--_sass/yat/_layout.scss3
1 files changed, 2 insertions, 1 deletions
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;
}
}