Skip to content

Commit

Permalink
Align Reset Filters Button (#3093)
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg authored Sep 15, 2023
1 parent 64cbd82 commit abe0d08
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 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.

11 changes: 8 additions & 3 deletions themes/bootstrap3/less/components/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,10 @@ body.rtl {
.active-filters {
clear: both;
display: flex;
justify-content: flex-start;
align-items: baseline;
gap: 1rem;
align-items: start;
margin-block: 0.5rem;

.retain-filters {
float: right;
}
Expand All @@ -509,7 +511,7 @@ body.rtl {
}
.filters {
flex: 10 1 auto;
padding: 5px 0 5px 10px;

.collapse {
display: none;
.in {
Expand Down Expand Up @@ -575,6 +577,9 @@ body.rtl {
background-color: rgba(0,0,0,.1);
}
}
.reset-filters-btn {
flex: none;
}

.active-filters .filters a.filter-value:hover,
.active-filters .filters a.filter-value:focus {
Expand Down
11 changes: 8 additions & 3 deletions themes/bootstrap3/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,10 @@ body.rtl {
.active-filters {
clear: both;
display: flex;
justify-content: flex-start;
align-items: baseline;
gap: 1rem;
align-items: start;
margin-block: 0.5rem;

.retain-filters {
float: right;
}
Expand All @@ -509,7 +511,7 @@ body.rtl {
}
.filters {
flex: 10 1 auto;
padding: 5px 0 5px 10px;

.collapse {
display: none;
.in {
Expand Down Expand Up @@ -575,6 +577,9 @@ body.rtl {
background-color: rgba(0,0,0,.1);
}
}
.reset-filters-btn {
flex: none;
}

.active-filters .filters a.filter-value:hover,
.active-filters .filters a.filter-value:focus {
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.

0 comments on commit abe0d08

Please sign in to comment.