From ea5ef589048183cf074c1c27cc0da7a2daed0fd1 Mon Sep 17 00:00:00 2001 From: hadi Date: Wed, 24 May 2023 14:40:19 +0200 Subject: [PATCH] Fix links styling to get correctly ellipsis text overflow --- api/js/etemplate/Et2Link/Et2Link.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Link/Et2Link.ts b/api/js/etemplate/Et2Link/Et2Link.ts index 9c5be2b877..15e6917394 100644 --- a/api/js/etemplate/Et2Link/Et2Link.ts +++ b/api/js/etemplate/Et2Link/Et2Link.ts @@ -47,7 +47,8 @@ export class Et2Link extends ExposeMixin(Et2Widget(LitElement)) imple flex: 2 1 50%; overflow: hidden; text-overflow: ellipsis; - max-width: max-content; + white-space: nowrap; + max-width: max-content; width: 0; } @@ -55,6 +56,7 @@ 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; }