Skip to content

Commit

Permalink
EZP-32012: Search page has not properly aligned elements (ezsystems#1580
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dew326 authored Oct 13, 2020
1 parent 41ca439 commit 72c0756
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/bundle/Resources/public/scss/_filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@

&__btns {
padding-top: calculateRem(16px);
display: flex;

.btn-secondary:not(:first-child) {
margin-left: calculateRem(8px);
}
}

&__option--hidden {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{{ form_widget(form.search_language, {'attr': {'class': 'ez-search-form__language-selector'}}) }}
</div>
<button type="submit" class="ez-btn ez-btn--primary ez-btn--search">{{ 'search.perform'|trans|desc('Search') }}</button>
<button type="button" class="btn btn-secondary ez-btn--filter">{{ 'search.filters'|trans|desc('Filters') }}</button>
<button type="button" class="btn btn-secondary ez-btn ez-btn--filter">{{ 'search.filters'|trans|desc('Filters') }}</button>
</span>
</div>
</div>
Expand Down

0 comments on commit 72c0756

Please # to comment.