diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 391526f0a30..87e7c26f1a7 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1553,11 +1553,7 @@ h4 > .notable-traits {
}
@media (max-width: 416px) {
- #titles {
- height: 73px;
- }
-
- #titles > div {
+ #titles, #titles > div {
height: 73px;
}
}