mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
tweaked the tag component (#407)
* tweaked the tag component * updated based on feedback * updated to remove span * changed display to initial * prettier --------- Co-authored-by: Konnor Rogers <konnor5456@gmail.com>
This commit is contained in:
@@ -38,6 +38,15 @@ select,
|
||||
padding: var(--wa-space-smaller) var(--wa-space);
|
||||
}
|
||||
|
||||
/* Add ellipses to multi select options */
|
||||
:host wa-tag::part(content) {
|
||||
display: initial;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 7ch;
|
||||
}
|
||||
|
||||
select:disabled,
|
||||
:host .disabled [part~='combobox'] {
|
||||
opacity: 0.5;
|
||||
|
||||
Reference in New Issue
Block a user