about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-09-18 00:32:28 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-09-18 00:32:28 +0200
commitf45eacce76b76cd378948d9142d37c08ebdcf4d9 (patch)
tree1dff9c50b3e7ec7068825b4aeffd2357cf951a76 /src
parent98ad6a5519651af36e246c0335c964dd52c554ba (diff)
downloadrust-f45eacce76b76cd378948d9142d37c08ebdcf4d9.tar.gz
rust-f45eacce76b76cd378948d9142d37c08ebdcf4d9.zip
Fix tooltip display for error codes
Diffstat (limited to 'src')
-rw-r--r--src/tools/error_index_generator/error-index.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/error_index_generator/error-index.css b/src/tools/error_index_generator/error-index.css
index 8975af82de0..dcac2e18efe 100644
--- a/src/tools/error_index_generator/error-index.css
+++ b/src/tools/error_index_generator/error-index.css
@@ -27,10 +27,11 @@ pre .tooltip::before {
 	content: " ";
 	position: absolute;
 	top: 50%;
-	left: 16px;
+	left: 2px;
 	margin-top: -5px;
 	border-width: 5px;
 	border-style: solid;
+	height: 0px;
 }
 
 pre .tooltip:hover::before, pre .tooltip:hover::after {