Skip to content

Tooltip overflow #90233

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

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Tooltip overflow #90233

merged 1 commit into from
Oct 25, 2021

Conversation

GuillaumeGomez
Copy link
Member

Fixes #89185.

r? @camelid

@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels Oct 24, 2021
@rust-highfive
Copy link
Contributor

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 24, 2021
Copy link
Member

@camelid camelid left a comment

Choose a reason for hiding this comment

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

r=me after fixing the selector. It might not be necessary, but it seems that removing the * is preferred by MDN and Firefox devtools. When I tried to enter .docblock > *:not(.information) into the devtools before, it changed it to .docblock > :not(.information).

@@ -528,7 +528,7 @@ nav.sub {
position: relative;
}

.docblock > * {
.docblock > *:not(.information) {
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be the following:

Suggested change
.docblock > *:not(.information) {
.docblock > :not(.information) {

See https://developer.mozilla.org/en-US/docs/Web/CSS/:not#examples for more.

@camelid camelid added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 24, 2021
@camelid
Copy link
Member

camelid commented Oct 24, 2021

And also: please squash your commits :)

Adding the test as part of the fix commit makes it easier to understand the change later on.

@GuillaumeGomez
Copy link
Member Author

And also: please squash your commits :)

Adding the test as part of the fix commit makes it easier to understand the change later on.

Ah right, I forgot we disagreed on this point. Well, since you're the reviewer I'll do it. ;)

@GuillaumeGomez
Copy link
Member Author

@bors: r=camelid rollup

@bors
Copy link
Collaborator

bors commented Oct 25, 2021

📌 Commit 345519b has been approved by camelid

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 25, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Oct 25, 2021
This was referenced Oct 25, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 25, 2021
…laumeGomez

Rollup of 5 pull requests

Successful merges:

 - rust-lang#90017 (Add a couple tests for normalize under binder issues)
 - rust-lang#90079 (enable `i8mm` target feature on aarch64 and arm)
 - rust-lang#90233 (Tooltip overflow)
 - rust-lang#90257 (Changed slice.swap documentation for better readability)
 - rust-lang#90261 (Move back to linux builder on try builds)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 6c0dcb4 into rust-lang:master Oct 25, 2021
@rustbot rustbot added this to the 1.58.0 milestone Oct 25, 2021
@GuillaumeGomez GuillaumeGomez deleted the tooltip-overflow branch October 25, 2021 17:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) 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.

rustdoc: Scrollbar shown instead of warning (or error) icon
5 participants