Skip to content

Commit 7d0b9fc

Browse files
committed
reduce body side margins on mobile to preserve readable width
Desktop margins are acceptable, but on small screens they consume too much of the viewport and leave content unnecessarily constrained. At <=767px, reduce body side margins from 10% to 3% so more width is available for ordinary content. This lowers avoidable wrapping and reduces the chance of horizontal overflow triggered by overly narrow content area.
1 parent c1a541f commit 7d0b9fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/sass/main.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ div.feature-matrix {
7979
}
8080
}
8181
@media screen and (max-width: 767px) {
82+
body {
83+
margin-right: 3%;
84+
margin-left: 3%;
85+
}
8286
.tg {
8387
width: auto !important;
8488
}

0 commit comments

Comments
 (0)