Skip to content

Commit

Permalink
fix: search controls no longer wrap for an improved mobile experience. (
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg authored Oct 23, 2024
1 parent 39708dc commit 8028edc
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 15 deletions.
2 changes: 1 addition & 1 deletion themes/bootprint3/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bootstrap3/css/compiled.css

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions themes/bootstrap3/less/components/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,17 @@ $thumbnail-width-large: 160px !default;

header .container.navbar { margin-bottom: 0; }

.search-sort, .search-result-limit { display: flex; }
.search-sort label, .search-result-limit label {
.search-sort,
.search-result-limit {
display: flex;
gap: 0.5rem;
}
.search-sort label,
.search-result-limit label {
white-space: nowrap;
line-height: @input-height-base;
padding-right: .5rem;
}

.search-stats {
display: block;
padding-top: 0.5rem;
Expand Down
12 changes: 9 additions & 3 deletions themes/bootstrap3/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,17 @@ $thumbnail-width-large: 160px !default;

header .container.navbar { margin-bottom: 0; }

.search-sort, .search-result-limit { display: flex; }
.search-sort label, .search-result-limit label {
.search-sort,
.search-result-limit {
display: flex;
gap: 0.5rem;
}
.search-sort label,
.search-result-limit label {
white-space: nowrap;
line-height: $input-height-base;
padding-right: .5rem;
}

.search-stats {
display: block;
padding-top: 0.5rem;
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/css/compiled.css

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions themes/bootstrap5/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,17 @@ $thumbnail-width-large: 160px !default;

header .container.navbar { margin-bottom: 0; }

.search-sort, .search-result-limit { display: flex; }
.search-sort label, .search-result-limit label {
.search-sort,
.search-result-limit {
display: flex;
gap: 0.5rem;
}
.search-sort label,
.search-result-limit label {
white-space: nowrap;
line-height: $input-height-base;
padding-right: .5rem;
}

.search-stats {
display: block;
padding-top: 0.5rem;
Expand Down
2 changes: 1 addition & 1 deletion themes/local_theme_example/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/sandal/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/sandal5/css/compiled.css

Large diffs are not rendered by default.

0 comments on commit 8028edc

Please sign in to comment.