-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused flex-grow CSS rule #105823
Remove unused flex-grow CSS rule #105823
Conversation
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
@bors r+ rollup |
@bors r- How is it not a flex item? These are direct children of example-wrap, which is display: flex right here. |
It's this rule that is applied: https://github.com/rust-lang/rust/blob/master/src/librustdoc/html/static/css/rustdoc.css#L1979. So not flex items. |
Yeah, scraped examples are special. They use CSS grid for this while everything else uses flexbox. It would probably be a good idea to make a more elaborate PR to have example-wrap always use grid, |
I see. Closing in the meantime then. |
…es-code-blocks, r=notriddle rustdoc: Simplify CSS for scraped code examples code blocks It's another approach than rust-lang#105894 for rust-lang#105823. I simply removed the extra style added for the scraped code blocks which appears to be unneeded. r? `@notriddle`
It's not a flex item so the rule has no effect on it.
r? @notriddle