Skip to content

Commit 8458fb6

Browse files
yuanchuanLeaVerou
authored andcommitted
prevent horizontal scroll bar (#34)
1 parent 087e91c commit 8458fb6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

style.css

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ body > header nav iframe {
9494
padding: 5em calc(50vw - #{$content-width/2}) 6em;
9595
clip-path: polygon(0% 0%, 100% 4em, 100% calc(100% - 7em), 0% 100%);
9696
font-weight: 400;
97-
margin: 0 -1rem;
97+
margin: 0 -2rem;
98+
99+
@media (max-width: 1150px) {
100+
margin: 0 -1rem;
101+
}
98102

99103
article {
100104
box-sizing: border-box;

0 commit comments

Comments
 (0)