diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 8c8a00d47bc07..0ab97ab3f6384 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1560,6 +1560,41 @@ h4 > .notable-traits {
#titles, #titles > div {
height: 73px;
}
+
+ #main > table:not(.table-display) td {
+ word-break: break-word;
+ min-width: 10%;
+ }
+
+ .search-container > div {
+ display: block;
+ width: calc(100% - 37px);
+ }
+
+ #crate-search {
+ width: 100%;
+ border-radius: 4px;
+ border: 0;
+ }
+
+ #crate-search + .search-input {
+ width: calc(100% + 71px);
+ margin-left: -36px;
+ }
+
+ #theme-picker, #settings-menu {
+ padding: 5px;
+ width: 31px;
+ height: 31px;
+ }
+
+ #theme-picker {
+ margin-top: -2px;
+ }
+
+ #settings-menu {
+ top: 7px;
+ }
}
h3.notable {