From 088b92bc2c794d126a403ff89eb165c4fb386d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cintia=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Tue, 8 Oct 2024 17:18:59 +0200 Subject: [PATCH] Fix issue with long texts on templates tooltips (#4085) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cintia Sánchez García --- web/src/layout/package/chartTemplates/Template.module.css | 5 +++++ web/src/layout/package/chartTemplates/Template.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/layout/package/chartTemplates/Template.module.css b/web/src/layout/package/chartTemplates/Template.module.css index 5948286b9..f8bfcdba4 100644 --- a/web/src/layout/package/chartTemplates/Template.module.css +++ b/web/src/layout/package/chartTemplates/Template.module.css @@ -18,6 +18,11 @@ animation: blinker 1s linear 1; } +.definedTemplate { + max-width: 480px; + min-width: 350px; +} + @keyframes blinker { 50% { opacity: 1; diff --git a/web/src/layout/package/chartTemplates/Template.tsx b/web/src/layout/package/chartTemplates/Template.tsx index b5311091b..c2764bd70 100644 --- a/web/src/layout/package/chartTemplates/Template.tsx +++ b/web/src/layout/package/chartTemplates/Template.tsx @@ -193,7 +193,7 @@ const Template = (props: Props) => { element={{word}} info={
-
+
Template defined in {templateInHelper.template} line{' '} {templateInHelper.line}