From f5a087275eefe3618aadf33b87bd5ab0bd8cc1dc Mon Sep 17 00:00:00 2001 From: Ramir Mesquita Date: Mon, 23 Dec 2024 10:55:54 -0300 Subject: [PATCH] fix: corrects wrongly generated line breaks detected in qa --- src/shared/ui/Items/SelectBase/SelectBaseText.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/ui/Items/SelectBase/SelectBaseText.tsx b/src/shared/ui/Items/SelectBase/SelectBaseText.tsx index 4b76ac9e..a4d62fa1 100644 --- a/src/shared/ui/Items/SelectBase/SelectBaseText.tsx +++ b/src/shared/ui/Items/SelectBase/SelectBaseText.tsx @@ -15,12 +15,10 @@ export const SelectBaseText = (props: Props) => { lineHeight="28px" testid="select-text" sx={{ + wordBreak: 'break-word', cursor: 'pointer', - lineBreak: 'normal', - wordBreak: 'normal', hyphens: 'auto', display: '-webkit-box', - overflow: 'hidden', // Using kebab-case (i.e. `-webkit-some-things`) would cause warnings // in the JS console about kebab-case being not supported for CSS