Skip to content

Commit 4a0cc90

Browse files
committed
Fix responsiveness
1 parent 82464b7 commit 4a0cc90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: sass/style.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
body {
4242
display: grid;
43-
grid-template-columns: 1fr minmax(auto, 50em) 1fr;
43+
grid-template-columns: 1fr minmax(0, 50em) 1fr;
4444
}
4545

4646
.skip-link {
@@ -159,6 +159,10 @@ footer {
159159
display: grid;
160160
grid-template-columns: repeat(2, auto);
161161
gap: 0.2em 1.5em;
162+
163+
@media (width <= 35rem) {
164+
grid-template-columns: auto;
165+
}
162166
}
163167

164168
.site-footer {

0 commit comments

Comments
 (0)