From 72c0756a57330401ab423a850afe34b773004ceb Mon Sep 17 00:00:00 2001 From: Dariusz Szut Date: Tue, 13 Oct 2020 14:52:40 +0200 Subject: [PATCH] EZP-32012: Search page has not properly aligned elements (#1580) --- src/bundle/Resources/public/scss/_filters.scss | 5 +++++ .../Resources/views/themes/admin/ui/search/form.html.twig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/scss/_filters.scss b/src/bundle/Resources/public/scss/_filters.scss index 07a51f2ceb..019721d149 100644 --- a/src/bundle/Resources/public/scss/_filters.scss +++ b/src/bundle/Resources/public/scss/_filters.scss @@ -100,6 +100,11 @@ &__btns { padding-top: calculateRem(16px); + display: flex; + + .btn-secondary:not(:first-child) { + margin-left: calculateRem(8px); + } } &__option--hidden { diff --git a/src/bundle/Resources/views/themes/admin/ui/search/form.html.twig b/src/bundle/Resources/views/themes/admin/ui/search/form.html.twig index 686b18e9ac..ee0812fe3c 100644 --- a/src/bundle/Resources/views/themes/admin/ui/search/form.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/search/form.html.twig @@ -22,7 +22,7 @@ {{ form_widget(form.search_language, {'attr': {'class': 'ez-search-form__language-selector'}}) }} - +