diff --git a/djangoproject/scss/_dark-mode.scss b/djangoproject/scss/_dark-mode.scss index 1544aa687..0097a2b55 100644 --- a/djangoproject/scss/_dark-mode.scss +++ b/djangoproject/scss/_dark-mode.scss @@ -361,7 +361,6 @@ html[data-theme="light"] .theme-toggle .theme-label-when-light { .light-dark-mode-toggle { height: 45px; width: 45px; - margin: 2px; } } diff --git a/djangoproject/scss/_style.scss b/djangoproject/scss/_style.scss index a6c5453ff..7a27632cb 100644 --- a/djangoproject/scss/_style.scss +++ b/djangoproject/scss/_style.scss @@ -517,7 +517,6 @@ header { cursor: pointer; display: block; height: 45px; - margin: 2px; text-align: center; text-decoration: none; width: 45px; @@ -3065,7 +3064,10 @@ form { &.search { width: 20%; min-width: 200px; - margin: 10px; + margin: 10px 8px 10px 0; + @include respond-min(768px) { + margin-left: 10px; + } input { margin: 0;