Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align Reset Filters Button #3093

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.