Skip to content

Commit 5f8b53b

Browse files
committed
CSS: Restrict readme image width
Fixes #971
1 parent 405b2ad commit 5f8b53b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/styles/crate.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@
306306
.crate-readme {
307307
line-height: 1.5;
308308

309+
img {
310+
max-width: 100%;
311+
}
312+
309313
pre {
310314
overflow-x: scroll;
311315
}

0 commit comments

Comments
 (0)