Select / Search CSS:

- Fix tag remove button alignment
This commit is contained in:
nathan 2022-06-13 08:25:16 -06:00
parent 980f7cb0df
commit 8828770c4f

View File

@ -21,11 +21,18 @@ export class Et2Tag extends Et2Widget(SlTag)
return [ return [
super.styles, super.styles,
shoelace, css` shoelace, css`
:host {
overflow: hidden;
}
::slotted(et2-image) ::slotted(et2-image)
{ {
height: 20px; height: 20px;
width: 20px; width: 20px;
} }
/* Avoid button getting truncated by right side of button */
.tag__remove {
margin-right: calc(-1 * var(--sl-spacing-2x-small));
}
`]; `];
} }