diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index a305335e0b3..28ed94432c8 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -675,7 +675,6 @@ ul.block, .block li {
border-top: solid 16px transparent;
box-sizing: content-box;
position: relative;
- background-color: var(--sidebar-background-color);
background-clip: border-box;
z-index: 1;
}