diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 70360c20516fa..a6c56c96e26c2 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1133,6 +1133,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
.setting-check input:checked {
background-color: var(--settings-input-color);
border-width: 1px;
+ /* cross-mark image in the settings checkboxes */
content: url('data:image/svg+xml,');
@@ -1627,6 +1628,7 @@ a.tooltip:hover::after {
}
#sidebar-button > a:before {
+ /* sidebar resizer image */
content: url('data:image/svg+xml,