diff --git a/api/js/etemplate/Et2Select/Tag/Et2Tag.ts b/api/js/etemplate/Et2Select/Tag/Et2Tag.ts index e71e241a04..565f31324e 100644 --- a/api/js/etemplate/Et2Select/Tag/Et2Tag.ts +++ b/api/js/etemplate/Et2Select/Tag/Et2Tag.ts @@ -21,11 +21,18 @@ export class Et2Tag extends Et2Widget(SlTag) return [ super.styles, shoelace, css` + :host { + overflow: hidden; + } ::slotted(et2-image) { height: 20px; width: 20px; } + /* Avoid button getting truncated by right side of button */ + .tag__remove { + margin-right: calc(-1 * var(--sl-spacing-2x-small)); + } `]; }