From 8eb87833e5c13c522893b254d6880fdf85b6d3dd Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Wed, 19 Oct 2022 09:51:48 +0200 Subject: [PATCH] :lipstick: [#1924] Dropdown for select fixed --- .../scss/components/builder/_builder.scss | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/src/openforms/scss/components/builder/_builder.scss b/src/openforms/scss/components/builder/_builder.scss index 5d6ee89457..000c905fbc 100644 --- a/src/openforms/scss/components/builder/_builder.scss +++ b/src/openforms/scss/components/builder/_builder.scss @@ -69,35 +69,33 @@ div.flatpickr-calendar.open { padding-top: 10px; } -[ref='editForm'] { - .choices__list { - &--dropdown { - background-color: var(--body-bg); - color: var(--body-fg); - border-color: var(--border-color); - } - - .choices__input { - background-color: var(--form-input-bg); - border-color: var(--border-color); - } - - .choices__item--selectable.is-highlighted { - background-color: var(--formio-dropdown-highlighted-bg); - } +.choices__list { + &--dropdown { + background-color: var(--body-bg); + color: var(--body-fg); + border-color: var(--border-color); } - .choices__list + .choices__input { - border: none; - border-radius: unset; - padding: 4px 0 4px 2px; + .choices__input { + background-color: var(--form-input-bg) !important; + border-color: var(--border-color) !important; } - .choices__list:not(:empty) + .choices__input { - width: 1ch; + .choices__item--selectable.is-highlighted { + background-color: var(--formio-dropdown-highlighted-bg); } } +.choices__list + .choices__input { + border: none; + border-radius: unset; + padding: 4px 0 4px 2px; +} + +.choices__list:not(:empty) + .choices__input { + width: 1ch; +} + .builder-sidebar_scroll { top: 100px; }