From 6c1928adb6f542ae9ed132c77e073b14f0dd67ad Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Fri, 21 Mar 2025 19:50:37 -0300 Subject: [PATCH] fix: made truncate gradient appear just in the end of the truncated component (#7215) Fixed truncate function --- src/frontend/tailwind.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/tailwind.config.mjs b/src/frontend/tailwind.config.mjs index efc1c9832..c9b279c7d 100644 --- a/src/frontend/tailwind.config.mjs +++ b/src/frontend/tailwind.config.mjs @@ -421,7 +421,7 @@ const config = { content: '""', position: "absolute", inset: "0 0 0 0", - background: `linear-gradient(to right, transparent, 75%, ${colorValue})`, + background: `linear-gradient(to right, transparent 80%, ${colorValue})`, }, }; } else if (typeof colorValue === "object") { @@ -434,7 +434,7 @@ const config = { content: '""', position: "absolute", inset: "0 0 0 0", - background: `linear-gradient(to right, transparent, ${colorValue.DEFAULT})`, + background: `linear-gradient(to right, transparent 80%, ${colorValue.DEFAULT})`, }, }; }