Skip to content

Commit

Permalink
Remove targeting of EUI class
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Jan 26, 2024
1 parent 28489cf commit f1ee5ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@
color: $euiColorDanger;
}

.euiFilterButton__text {
.optionsList--selectionText {
flex-grow: 1;
text-align: left;

&-hasNotification {
flex-grow: 1;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const OptionsListControl = ({
isSelected={isPopoverOpen}
numActiveFilters={validSelectionsCount}
hasActiveFilters={Boolean(validSelectionsCount)}
textProps={{ className: 'optionsList--selectionText' }}
>
{hasSelections || existsSelected
? selectionDisplayNode
Expand Down

0 comments on commit f1ee5ad

Please sign in to comment.