Rollup merge of #105064 - notriddle:notriddle/main-min-width, r=GuillaumeGomez

rustdoc: add comment to confusing CSS `main { min-width: 0 }`

This CSS was added in cad0fce205, but the reason why it was necessary was unclear. This comment makes it clear.
This commit is contained in:
Matthias Krüger 2022-11-30 19:53:19 +01:00 committed by GitHub
commit 4357c2d018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,7 +314,7 @@ main {
position: relative;
flex-grow: 1;
padding: 10px 15px 40px 45px;
min-width: 0;
min-width: 0; /* avoid growing beyond the size limit */
}
.source main {