Skip to content

Commit

Permalink
💄 [#1924] Dropdown for select fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Oct 19, 2022
1 parent d3801e4 commit 8eb8783
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions src/openforms/scss/components/builder/_builder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8eb8783

Please sign in to comment.