We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56694b0 commit 345519bCopy full SHA for 345519b
src/librustdoc/html/static/css/rustdoc.css
@@ -532,7 +532,7 @@ nav.sub {
532
position: relative;
533
}
534
535
-.docblock > * {
+.docblock > :not(.information) {
536
max-width: 100%;
537
overflow-x: auto;
538
src/test/rustdoc-gui/overflow-tooltip-information.goml
@@ -0,0 +1,8 @@
1
+// The goal of this test is to ensure that the tooltip `.information` class doesn't
2
+// have overflow and max-width CSS rules set because they create a bug in firefox on
3
+// mac. For more information: https://github.com/rust-lang/rust/issues/89185
4
+goto: file://|DOC_PATH|/test_docs/fn.foo.html
5
+assert-css: (".docblock > .information", {
6
+ "overflow-x": "visible",
7
+ "max-width": "none"
8
+}, ALL)
0 commit comments