rustdoc: simplify mobile item-table CSS#103855
Merged
bors merged 1 commit intorust-lang:masterfrom Nov 2, 2022
Merged
Conversation
Using flexbox in column direction is needlessly complicated, since no special flex powers are being used here. Just use regular block layout. This should result in no visible changes.
Collaborator
|
r? @jsha (rustbot has picked a reviewer for you, use r? to override) |
Collaborator
|
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
Member
Contributor
Author
|
There already is one. https://github.com/rust-lang/rust/blob/master/src/test/rustdoc-gui/label-next-to-symbol.goml#L41 Which browser are you using, and what screen size exactly? |
Member
|
Strange. I used a width of 658px on chrome on macOS. |
Contributor
Author
|
@GuillaumeGomez I don't have access to a Mac, and when I try to do it in Chrome on Linux, I don't experience the bug. Can you check what the calculated style of the item-table, -row, and -left and -right are in the Developer Tools? |
GuillaumeGomez
approved these changes
Nov 2, 2022
Member
|
Fixed the issue by... hard reloading the page and changing the style again. Sorry about that. Looks all good! @bors r+ rollup |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 2, 2022
Rollup of 7 pull requests Successful merges: - rust-lang#103275 (Update tinystr) - rust-lang#103703 (Gate some parser recovery behind the check) - rust-lang#103774 (Format `dyn Trait` better in `type_name` intrinsic) - rust-lang#103807 (Add tracking issue for `string_extend_from_within`) - rust-lang#103855 (rustdoc: simplify mobile item-table CSS) - rust-lang#103862 (Use `ObligationCtxt` in `fully_normalize`) - rust-lang#103864 (Reorder `walk_` functions in intravisit.rs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Using flexbox in column direction is needlessly complicated, since no special flex powers are being used here. Just use regular block layout.
This should result in no visible changes.