From 5e6480494a1d3a2178d2701c068e45e9b5fdacb2 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Mon, 31 Oct 2022 11:53:00 -0700 Subject: [PATCH] rustdoc: remove unnecessary CSS `.search-results { clear: both }` Since the tabs use flexbox instead of float as of 44d9b8d07014d976c88f541dbe0af37e64e37bdd, clearing does nothing. --- src/librustdoc/html/static/css/rustdoc.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 894499e5c4fc9..9cc448d37204a 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 {