Skip to content

Commit 3308b2b

Browse files
committed
Limited paragraph and li width to screen size on mobile
1 parent 60964e0 commit 3308b2b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

web/style.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,27 @@ ul {
237237
margin-top: 0;
238238
}
239239

240-
@media only screen and (max-device-width: 1024px) {
240+
@media only screen and (max-device-width: 1023px) {
241241
.ocks-org body {
242242
font-size: 70%;
243243
padding: 0.5rem;
244244
}
245245

246+
body > p,
247+
div > p {
248+
width: 90vw !important;
249+
}
250+
251+
li {
252+
width: 82vw;
253+
}
254+
246255
h3,
247256
h4,
248257
p,
249258
ul {
250259
padding-left: .7rem;
260+
width: 90vw;
251261
}
252262

253263
h1 {

0 commit comments

Comments
 (0)