Skip to content

Rollup of 7 pull requests #128030

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

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
9f7e049
Distribute rustc_codegen_cranelift for arm64 macOS
bjorn3 Jun 30, 2024
64ec270
Promote Mac Catalyst targets to tier 2, and ship with rustup
madsmtm Jun 13, 2024
5b0b4ff
Update wasi-sdk in CI to latest release
alexcrichton Jul 19, 2024
006c884
Fix two new failing tests
alexcrichton Jul 19, 2024
7b19389
rewrite test-benches to rmake
Oneirical Jul 19, 2024
2733494
rewrite c-unwind-abi-catch-panic to rmake
Oneirical Jul 19, 2024
2192a91
rewrite compiler-lookup-paths-2 to rmake
Oneirical Jul 19, 2024
ee034f4
Fix stab display in doc blocks
GuillaumeGomez Jul 20, 2024
9533544
rustdoc: short descr. cause word-breaks in tables
Kijewski Jul 21, 2024
e4d701b
Add regression test for stab display in doc blocks
GuillaumeGomez Jul 20, 2024
84db684
Update `source-code-page-code-scroll.goml` GUI test
GuillaumeGomez Jul 21, 2024
ae42efc
Deal with invalid UTF-8 from `gai_strerror`
Noratrieb Jul 10, 2024
5e24073
Rollup merge of #126450 - madsmtm:promote-mac-catalyst, r=Mark-Simula…
GuillaumeGomez Jul 21, 2024
14a89ab
Rollup merge of #127177 - bjorn3:arm64_macos_cg_clif, r=Mark-Simulacrum
GuillaumeGomez Jul 21, 2024
bf8b40e
Rollup merge of #127583 - Nilstrieb:invalid-utf8, r=joboet
GuillaumeGomez Jul 21, 2024
9cab176
Rollup merge of #127977 - alexcrichton:update-wasi-sdk, r=Mark-Simula…
GuillaumeGomez Jul 21, 2024
bbb94e7
Rollup merge of #127985 - Oneirical:testibule-of-hell, r=Kobzol
GuillaumeGomez Jul 21, 2024
6e9b6f4
Rollup merge of #128014 - GuillaumeGomez:stab-in-doc-blocks, r=notriddle
GuillaumeGomez Jul 21, 2024
ade4026
Rollup merge of #128023 - Kijewski:pr-table-width, r=notriddle
GuillaumeGomez Jul 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rustdoc: short descr. cause word-breaks in tables
The `.item-table` class is used to display name+description lists, e.g.
the exported functions, as a table. If the names are long and the
descriptions are short, then the width of the table does not expand to
the whole size, but only uses a fraction. This causes a some names to
break inside a word.

This change makes the table always use 100% of its parent width. The
`.width-limiter` wrapper already ensures that the used width still does
not become excessive.

Signed-off-by: René Kijewski <rene.kijewski@fu-berlin.de>
  • Loading branch information
Kijewski committed Jul 21, 2024
commit 95335444f7171c4582fd56f20ade6f84da84c984
1 change: 1 addition & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@ table,
display: table;
padding: 0;
margin: 0;
width: 100%;
}
.item-table > li {
display: table-row;
Expand Down
Loading