Skip to content

Commit 43f5d2b

Browse files
committed
rustdoc: add comment to confusing CSS main { min-width: 0 }
This CSS was added in cad0fce, but the reason why it was necessary was unclear. This comment makes it clear.
1 parent e0098a5 commit 43f5d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ main {
314314
position: relative;
315315
flex-grow: 1;
316316
padding: 10px 15px 40px 45px;
317-
min-width: 0;
317+
min-width: 0; /* avoid growing beyond the size limit */
318318
}
319319

320320
.source main {

0 commit comments

Comments
 (0)