Skip to content
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

rustdoc: remove unused mobile CSS .rustdoc { flex-direction } #101534

Merged
merged 1 commit into from
Sep 7, 2022

Commits on Sep 7, 2022

  1. rustdoc: remove unused mobile CSS .rustdoc { flex-direction }

    According to MDN, [flex-direction] only applies to [flex containers], which
    are boxes with `display: flex` or `inline-flex`.
    
    However, the `.rustdoc` body container is not a flex-container on mobile.
    A few lines above, it's set to `display: block`, so this selector does
    not have any effect.
    
    [flex-direction]: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
    
    [flex containers]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox#the_flex_container
    notriddle committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    210c851 View commit details
    Browse the repository at this point in the history