forked from extern/egroupware
Select / Search CSS:
- Fix tag remove button alignment
This commit is contained in:
parent
980f7cb0df
commit
8828770c4f
@ -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));
|
||||||
|
}
|
||||||
`];
|
`];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user