diff --git a/api/js/etemplate/Et2Tree/Et2Tree.ts b/api/js/etemplate/Et2Tree/Et2Tree.ts index dd9a77c3ac..9186e3aa82 100644 --- a/api/js/etemplate/Et2Tree/Et2Tree.ts +++ b/api/js/etemplate/Et2Tree/Et2Tree.ts @@ -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) {