diff --git a/api/js/etemplate/Et2Link/Et2Link.ts b/api/js/etemplate/Et2Link/Et2Link.ts index df6f9b2866..077e23fde9 100644 --- a/api/js/etemplate/Et2Link/Et2Link.ts +++ b/api/js/etemplate/Et2Link/Et2Link.ts @@ -47,8 +47,7 @@ export class Et2Link extends ExposeMixin(Et2Widget(LitElement)) imple flex: 2 1 50%; overflow: hidden; text-overflow: ellipsis; - white-space: nowrap; - max-width: max-content; + max-width: max-content; width: 0; } @@ -56,7 +55,6 @@ export class Et2Link extends ExposeMixin(Et2Widget(LitElement)) imple flex: 1 1 50%; overflow: hidden; text-overflow: ellipsis; - white-space: nowrap; max-width: max-content; width: 0; } diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 4ae4d8c0f9..9ddbbafbff 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1071,6 +1071,9 @@ et2-link-string > et2-link::part(icon), et2-link-string > et2-link::part(remark) display: none; } +et2-link-list et2-link::part(title), et2-link-list et2-link::part(remark) { + white-space: nowrap; +} /* Link entry - x button*/ div.et2_link_entry {