Skip to content

Commit 2c59da7

Browse files
authored
max-width: 100% for phones with screens narrower than 400px
https://urbanists.social/@georgelund/113342149599402190
1 parent 9da6f96 commit 2c59da7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text-wrap-balance-nav.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
padding: 10px;
1616
margin-bottom: 20px;
1717
width: 400px;
18+
max-width: 100%;
1819
box-sizing: border-box;
1920
}
2021
ul {
@@ -36,7 +37,8 @@
3637
}
3738
.controls {
3839
margin-top: 20px;
39-
width: 400px; /* Reduced from 600px to 400px to match nav */
40+
width: 400px;
41+
max-width: 100%;
4042
}
4143
.control-item {
4244
margin-bottom: 10px;

0 commit comments

Comments
 (0)