UX: allow category names in select-kit to truncate if needed (#27941)

This commit is contained in:
Kris 2024-07-16 17:52:17 -04:00 committed by GitHub
parent 9a2f94f648
commit ef27ee9fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,7 @@
align-items: baseline;
gap: 0.33em;
color: var(--primary-high);
min-width: 0;
&:before {
content: "";
@ -43,6 +44,7 @@
color: currentColor;
text-overflow: ellipsis;
overflow: hidden;
min-width: 0;
}
&.--has-parent {

View File

@ -112,6 +112,7 @@
color: inherit;
display: flex;
outline: none;
min-width: 0;
&:focus .d-icon-times {
color: var(--danger);
@ -124,6 +125,7 @@
.name {
display: inline-flex;
gap: 0.5em;
min-width: 0;
> .d-icon {
margin-left: 0.5em;
margin-right: 0;