-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix ascii art text wrapping in mobile #81558
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Some changes occurred in HTML/CSS/JS. |
(rust-highfive has picked a reviewer for you, use r? to override) |
Can you check it doesn't break #59973 please? |
@GuillaumeGomez I have added screenshots for larger devices. I am not quite sure how to test that on nom. |
You have the full explanations in the thread. If you're talking about testing the style, you can simply build |
Thanks! @bors: r+ rollup |
📌 Commit 6d7ef10 has been approved by |
…as-schievink Rollup of 18 pull requests Successful merges: - rust-lang#78044 (Implement io::Seek for io::Empty) - rust-lang#79285 (Stabilize Arc::{increment,decrement}_strong_count) - rust-lang#80053 (stabilise `cargo test -- --include-ignored`) - rust-lang#80279 (Implement missing `AsMut<str>` for `str`) - rust-lang#80470 (Stabilize by-value `[T; N]` iterator `core::array::IntoIter`) - rust-lang#80945 (Add Box::downcast() for dyn Any + Send + Sync) - rust-lang#81048 (Stabilize `core::slice::fill_with`) - rust-lang#81198 (Remove requirement that forces symmetric and transitive PartialEq impls to exist) - rust-lang#81422 (Account for existing `_` field pattern when suggesting `..`) - rust-lang#81472 (Clone entire `TokenCursor` when collecting tokens) - rust-lang#81484 (Optimize decimal formatting of 128-bit integers) - rust-lang#81491 (Balance sidebar `Deref` cycle check with main content) - rust-lang#81509 (Add a regression test for ICE of bad_placeholder_type) - rust-lang#81547 (Edit rustc_typeck top-level docs) - rust-lang#81550 (Replace predecessor with range in collections documentation) - rust-lang#81558 (Fix ascii art text wrapping in mobile) - rust-lang#81562 (Clarify that InPlaceIterable guarantees extend to all advancing iterator methods.) - rust-lang#81563 (Improve docblock readability on small screen) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Hi all, This change made whitespace collapse in all
and
This is a regression from older version and it makes it hard to talk about Rust strings with leading and trailing whitespace :-) Could we put back a |
@mgeisler Do you need the Maybe we could add something like |
@mgeier Could you open an issue please so it can be taken care of quickly? |
Thanks @pickfire for the potential work around, I'm not 100% sure of the best solution since I haven't looked deeply into the rustdoc stylesheet. Thanks @GuillaumeGomez for the suggestion of a new issue. I just opened #83550 to track it. |
Fix #81377
Before
After
Note the second image is scrolled to the back (right), I added some padding for the text block (not the code block) to make it more comfortable to read since the last character is stuck to the last character.