Skip to content

Commit adf83cf

Browse files
authored
Improve spacing on search form field (#2358)
* Do not set the width explicitly on `.input-form button` because it creates too much whitespace. * Add width back. * Remove reseting margin-left for .search.
1 parent 63a8f4b commit adf83cf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

djangoproject/scss/_style.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ header {
581581
border: 0;
582582
float: left;
583583
text-align: left;
584-
> :not(.search){
584+
> :not(.search) {
585585
padding: 10px;
586586
}
587587
}
@@ -3057,12 +3057,9 @@ form {
30573057
width: 20%;
30583058
min-width: 200px;
30593059
margin: 10px;
3060-
margin-left: 0;
3060+
30613061
input {
30623062
margin: 0;
3063-
@include respond-min(1080px) {
3064-
margin: 0 10px;
3065-
}
30663063
}
30673064
}
30683065
}

0 commit comments

Comments
 (0)