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: merge CSS table rules into .docblock #102319

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

notriddle
Copy link
Contributor

This was added in 5101078, to fix the display of the module items and search results tables (see the discussion in #86725).

Those aren't tables any more. The only remaining table is in docblock, which has its own padding declarations.

This was added in 5101078, to fix
the display of the module items and search results tables (see the discussion
in rust-lang#86725).

Those aren't tables any more. The only remaining table is in docblock, which
has its own padding declarations.
@rustbot rustbot added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Sep 26, 2022
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jsha (or someone else) soon.

Please see the contribution instructions for more information.

@rustbot
Copy link
Collaborator

rustbot commented Sep 26, 2022

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 26, 2022
This was added in 5101078, to fix the
display of the module items and search results tables (see the discussion in
rust-lang#86725).

Those aren't tables any more. The only remaining table is in docblock, which
needs this attribute to look right.
@notriddle notriddle changed the title rustdoc: remove unneeded CSS td, th { padding 0 } rustdoc: merge CSS table rules into .docblock Sep 26, 2022
@@ -299,15 +299,6 @@ summary {

/* Fix some style changes due to normalize.css 8 */

td,
th {
padding: 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we relied on it for tables in docblock too? Well, that would be surprising to need it for tables in the first place.

@GuillaumeGomez
Copy link
Member

Thanks!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 26, 2022

📌 Commit 9990444 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 Sep 26, 2022
notriddle added a commit to notriddle/rust that referenced this pull request Sep 26, 2022
…aumeGomez

rustdoc: merge CSS `table` rules into `.docblock`

This was added in 5101078, to fix the display of the module items and search results tables (see the discussion in rust-lang#86725).

Those aren't tables any more. The only remaining table is in docblock, which has its own padding declarations.
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 27, 2022
Rollup of 6 pull requests

Successful merges:

 - rust-lang#102283 (Improve code example for Option::unwrap_or_default)
 - rust-lang#102319 (rustdoc: merge CSS `table` rules into `.docblock`)
 - rust-lang#102321 ( Rustdoc-Json: List impls for primitives)
 - rust-lang#102322 (Document that Display automatically implements ToString)
 - rust-lang#102325 (rustdoc: give `.line-number` / `.line-numbers` meaningful names)
 - rust-lang#102326 (rustdoc: Update doc comment for splitn_mut to include mutable in the …)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit dc4fb6b into rust-lang:master Sep 27, 2022
@rustbot rustbot added this to the 1.66.0 milestone Sep 27, 2022
@notriddle notriddle deleted the notriddle/td-th branch September 27, 2022 04:44
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.

6 participants