about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-10-07 11:31:15 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-10-07 11:31:15 +0200
commit0e45ad890dc1dcbc1d19ce0647e5f3d07284e7b2 (patch)
tree44c7f6dc385dccbf8c8b40e2f6c4e103d330e60a
parentefbaa413061c2a6e52f06f00a60ee7830fcf3ea5 (diff)
downloadrust-0e45ad890dc1dcbc1d19ce0647e5f3d07284e7b2.tar.gz
rust-0e45ad890dc1dcbc1d19ce0647e5f3d07284e7b2.zip
Fix tooltip text display
-rw-r--r--src/librustdoc/html/static/rustdoc.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 3f4bd2886b1..391526f0a30 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1098,6 +1098,10 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
 	border-style: solid;
 }
 
+.tooltip:hover .tooltiptext {
+	display: inline;
+}
+
 .tooltip.compile_fail, .tooltip.should_panic, .tooltip.ignore {
 	font-weight: bold;
 	font-size: 20px;