Skip to content

Commit

Permalink
Use flex grow on 'terms' in narrow by fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Mar 23, 2023
1 parent db9c4fb commit da93cde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions css/sass/_screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,8 @@ ul.item-pagination.navigation {
margin-bottom: $spacing-m;
}

.search-entry .advanced-search-joiner {
width: 100%;
.search-entry .advanced-search-terms {
flex-grow: 1;
}

.search-entry:first-child .advanced-search-joiner {
Expand All @@ -788,7 +788,6 @@ ul.item-pagination.navigation {
}

.search-entry select {
margin: 0 $spacing-s $spacing-s 0;
width: 100%;
}

Expand All @@ -808,7 +807,7 @@ ul.item-pagination.navigation {
text-indent: -9999px;
position: relative;
padding: 0;
margin: (1.125 * $spacing-l) 0 0 $spacing-m;
margin: (1.125 * $spacing-l) 0 0 0;

&:after {
@include lnr;
Expand Down
7 changes: 3 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,8 @@ input[type=checkbox] {
margin-bottom: 10.5px;
}

.search-entry .advanced-search-joiner {
width: 100%;
.search-entry .advanced-search-terms {
flex-grow: 1;
}

.search-entry:first-child .advanced-search-joiner {
Expand All @@ -790,7 +790,6 @@ input[type=checkbox] {
}

.search-entry select {
margin: 0 5.25px 5.25px 0;
width: 100%;
}

Expand All @@ -810,7 +809,7 @@ input[type=checkbox] {
text-indent: -9999px;
position: relative;
padding: 0;
margin: 23.625px 0 0 10.5px;
margin: 23.625px 0 0 0;
}
.remove_search:after {
font-family: "Linearicons-Free";
Expand Down

0 comments on commit da93cde

Please sign in to comment.