Skip to content

Commit 7a044c0

Browse files
committed
πŸ› fix(HighlightCard.tsx): change whiteSpace property from 'pre-wrap' to 'normal' for better text wrapping
πŸ› fix(Lightbox.tsx): change whiteSpace property from 'pre-wrap' to 'normal' for better text wrapping
1 parent 602f2c1 commit 7a044c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žsrc/pages/Campaign/useWidgets/Experience/widgets/Insights/HighlightCard.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const HighlightCard = ({
9797
</SpecialCard.Header.Label>
9898
<SpecialCard.Header.Title
9999
style={{
100-
whiteSpace: 'pre-wrap',
100+
whiteSpace: 'normal',
101101
wordBreak: 'break-word',
102102
}}
103103
>

β€Žsrc/pages/Campaign/useWidgets/Experience/widgets/Insights/Lightbox.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const InsightLightbox = ({
104104
isBold
105105
style={{
106106
margin: `${appTheme.space.xs} 0`,
107-
whiteSpace: 'pre-wrap',
107+
whiteSpace: 'normal',
108108
wordBreak: 'break-word',
109109
}}
110110
>

0 commit comments

Comments
Β (0)