Rollup merge of #90233 - GuillaumeGomez:tooltip-overflow, r=camelid
Tooltip overflow Fixes #89185. r? ``@camelid``
This commit is contained in:
commit
6c0dcb41bd
@ -532,7 +532,7 @@ nav.sub {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.docblock > * {
|
||||
.docblock > :not(.information) {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
8
src/test/rustdoc-gui/overflow-tooltip-information.goml
Normal file
8
src/test/rustdoc-gui/overflow-tooltip-information.goml
Normal file
@ -0,0 +1,8 @@
|
||||
// The goal of this test is to ensure that the tooltip `.information` class doesn't
|
||||
// have overflow and max-width CSS rules set because they create a bug in firefox on
|
||||
// mac. For more information: https://github.com/rust-lang/rust/issues/89185
|
||||
goto: file://|DOC_PATH|/test_docs/fn.foo.html
|
||||
assert-css: (".docblock > .information", {
|
||||
"overflow-x": "visible",
|
||||
"max-width": "none"
|
||||
}, ALL)
|
Loading…
x
Reference in New Issue
Block a user