Skip to content

Commit

Permalink
fix(dropdown): multiple search button padding and wrapping
Browse files Browse the repository at this point in the history
This PR fixes

multiple search button dropdown had wrong padding
Placeholders in multiple search dropdowns were wrapping
Search in dropdown buttons had ghosting text
  • Loading branch information
lubber-de committed Aug 31, 2020
1 parent d5d9764 commit 7d48060
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/definitions/modules/dropdown.less
Expand Up @@ -681,6 +681,9 @@ select.ui.dropdown {
color: @selectionTextUnderlayColor !important;
}

.ui.search.dropdown.button > span.sizer {
display: none;
}

/* Search Menu */
.ui.search.dropdown .menu {
Expand Down Expand Up @@ -742,7 +745,7 @@ select.ui.dropdown {
---------------*/

/* Multiple Selection */
.ui.multiple.dropdown {
.ui.ui.multiple.dropdown {
padding: @multipleSelectionPadding;
}
.ui.multiple.dropdown .menu {
Expand Down Expand Up @@ -772,6 +775,11 @@ select.ui.dropdown {
max-width: 100%;
margin: @multipleSelectionChildMargin;
line-height: @multipleSelectionChildLineHeight;
&.default {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.ui.multiple.dropdown > .label ~ input.search {
margin-left: @multipleSelectionSearchAfterLabelDistance !important;
Expand Down Expand Up @@ -825,6 +833,10 @@ select.ui.dropdown {
width: @multipleSelectionSearchStartWidth;
line-height: @multipleSelectionChildLineHeight;
}

.ui.multiple.search.dropdown.button {
min-width: @selectionMinWidth;
}
}
}

Expand Down

0 comments on commit 7d48060

Please sign in to comment.