about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-31 11:53:00 -0700
committerMichael Howell <michael@notriddle.com>2022-10-31 11:53:00 -0700
commit5e6480494a1d3a2178d2701c068e45e9b5fdacb2 (patch)
treed6100eab5dbbd48c99170bce3d24a18666472717
parent2afca78a0b03db144c5d8b9f8868feebfe096309 (diff)
downloadrust-5e6480494a1d3a2178d2701c068e45e9b5fdacb2.tar.gz
rust-5e6480494a1d3a2178d2701c068e45e9b5fdacb2.zip
rustdoc: remove unnecessary CSS `.search-results { clear: both }`
Since the tabs use flexbox instead of float as of
44d9b8d07014d976c88f541dbe0af37e64e37bdd, clearing does nothing.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 894499e5c4f..9cc448d3720 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -880,8 +880,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
 
 .search-results.active {
 	display: block;
-	/* prevent overhanging tabs from moving the first result */
-	clear: both;
 }
 
 .search-results .desc > span {