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:
Kelsey Jackson
2025-01-06 12:23:47 -06:00
committed by GitHub
parent bc4ad39f2e
commit 33b4045dad

View File

@@ -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;