increase et2-tree icon size by 2px in the new tree

This commit is contained in:
milan 2024-07-11 12:58:30 +02:00
parent 5bbc8dafa1
commit c4a18fe896

View File

@ -222,15 +222,17 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement)
::part(expand-button) {
rotate: none;
padding: 0 0 0 5em;
padding: 0 0.2em 0 5em;
margin-left: -5em;
}
/* Stop icon from shrinking if there's not enough space */
/* increase font size by 2px this was previously done in pixelegg css but document css can not reach shadow root*/
sl-tree-item sl-icon {
flex: 0 0 1em;
font-size: calc(100% + 2px);
}
::part(label) {