From ca7387bc6ed35002d368163f2601082c5ece35fa Mon Sep 17 00:00:00 2001 From: Karim H <98668332+khadni@users.noreply.github.com> Date: Thu, 2 May 2024 16:55:31 +0200 Subject: [PATCH] Fix mobile issue (#1927) --- src/components/CopyText.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CopyText.tsx b/src/components/CopyText.tsx index 6a1dd4cc36f..68c60a79923 100644 --- a/src/components/CopyText.tsx +++ b/src/components/CopyText.tsx @@ -40,8 +40,9 @@ const CopyContainer = ({ text, code, format, formatType }: Props) => { display: inline-flex; align-items: center; gap: var(--space-1x); - word-break: break-word; - white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + word-break: break-all; } .copyBtn {