mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 22:11:34 +08:00
UX: allow category names in select-kit to truncate if needed (#27941)
This commit is contained in:
@ -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 {
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user