Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Controls] Fix text alignment of options list control selections #175073

Merged
merged 7 commits into from
Jan 30, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
color: $euiColorDanger;
}

.euiFilterButton__text-hasNotification {
flex-grow: 1;
justify-content: space-between;
width: 0;
.euiFilterButton__text {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add a custom class as opposed to overriding .euiFilterButton__text?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call 👍 That should hopefully prevent these types of bugs in the future. Done in f1ee5ad

text-align: left;

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

Expand Down