Skip to content

rustdoc: add comment to confusing CSS main { min-width: 0 }#105064

Merged
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/main-min-width
Dec 1, 2022
Merged

rustdoc: add comment to confusing CSS main { min-width: 0 }#105064
bors merged 1 commit into
rust-lang:masterfrom
notriddle:notriddle/main-min-width

Conversation

@notriddle

@notriddle notriddle commented Nov 29, 2022

Copy link
Copy Markdown
Contributor

This CSS was added in cad0fce, but the reason why it was necessary was unclear. This comment makes it clear.

@rustbot

rustbot commented Nov 29, 2022

Copy link
Copy Markdown
Collaborator

Failed to set assignee to CraftSpider: invalid assignee

Note: Only org members, users with write permissions, or people who have commented on the PR may be assigned.

@rustbot

rustbot commented Nov 29, 2022

Copy link
Copy Markdown
Collaborator

r? @CraftSpider

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 29, 2022
@rustbot

rustbot commented Nov 29, 2022

Copy link
Copy Markdown
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks! r=me once CI pass

@rust-log-analyzer

This comment has been minimized.

This CSS was added in cad0fce, but the
reason why it was necessary was unclear. This comment makes it clear.
@notriddle notriddle force-pushed the notriddle/main-min-width branch from cb976a0 to 43f5d2b Compare November 29, 2022 20:22
@notriddle notriddle changed the title rustdoc: remove no-op CSS main { min-width: 0 } rustdoc: add comment to confusing CSS main { min-width: 0 } Nov 29, 2022
@notriddle

Copy link
Copy Markdown
Contributor Author

@GuillaumeGomez Luckily for us, the browser UI tests found a corner case where removing this rule broke the layout.

@GuillaumeGomez

Copy link
Copy Markdown
Member

Well, that's why we wrote them for. :) Thanks adding the comment!

@bors r+ rollup

@bors

bors commented Nov 30, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 43f5d2b has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 30, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 30, 2022
…, r=GuillaumeGomez

rustdoc: add comment to confusing CSS `main { min-width: 0 }`

This CSS was added in cad0fce, but the reason why it was necessary was unclear. This comment makes it clear.
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 1, 2022
…iaskrgr

Rollup of 9 pull requests

Successful merges:

 - rust-lang#103065 (rustdoc-json: Document and Test that args can be patterns.)
 - rust-lang#104865 (Don't overwrite local changes when updating submodules)
 - rust-lang#104895 (Avoid Invalid code suggested when encountering unsatisfied trait bounds in derive macro code)
 - rust-lang#105063 (Rustdoc Json Tests: Don't assume that core::fmt::Debug will always have one item.)
 - rust-lang#105064 (rustdoc: add comment to confusing CSS `main { min-width: 0 }`)
 - rust-lang#105074 (Add Nicholas Bishop to `.mailmap`)
 - rust-lang#105081 (Add a regression test for rust-lang#104322)
 - rust-lang#105086 (rustdoc: clean up sidebar link CSS)
 - rust-lang#105091 (add Tshepang Mbambo to .mailmap)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 4357c2d into rust-lang:master Dec 1, 2022
@rustbot rustbot added this to the 1.67.0 milestone Dec 1, 2022
@notriddle notriddle deleted the notriddle/main-min-width branch December 1, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants