about summary refs log tree commit diff
path: root/src/components/dialogs
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-02-28 13:03:55 +0900
committerGitHub <noreply@github.com>2024-02-28 13:03:55 +0900
commit3767e763906088d410da9ca99532c093368ca196 (patch)
tree533df6df19320459b69c54c7b26fac5b59279e5e /src/components/dialogs
parent41e69651f97cc95d42ff4ae247706604faca51ae (diff)
parentc4d30a0b7fb3e73b208a01d0f62130535d549392 (diff)
downloadvoidsky-3767e763906088d410da9ca99532c093368ca196.tar.zst
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'src/components/dialogs')
-rw-r--r--src/components/dialogs/MutedWords.tsx16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/components/dialogs/MutedWords.tsx b/src/components/dialogs/MutedWords.tsx
index 138cc5330..7c0d4fbca 100644
--- a/src/components/dialogs/MutedWords.tsx
+++ b/src/components/dialogs/MutedWords.tsx
@@ -10,7 +10,7 @@ import {
   useRemoveMutedWordMutation,
 } from '#/state/queries/preferences'
 import {isNative} from '#/platform/detection'
-import {atoms as a, useTheme, useBreakpoints, ViewStyleProp} from '#/alf'
+import {atoms as a, useTheme, useBreakpoints, ViewStyleProp, web} from '#/alf'
 import {Text} from '#/components/Typography'
 import {Button, ButtonIcon, ButtonText} from '#/components/Button'
 import {PlusLarge_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus'
@@ -260,9 +260,21 @@ function MutedWordRow({
           a.align_center,
           a.justify_between,
           a.rounded_md,
+          a.gap_md,
           style,
         ]}>
-        <Text style={[a.font_bold, t.atoms.text_contrast_high]}>
+        <Text
+          style={[
+            a.flex_1,
+            a.leading_snug,
+            a.w_full,
+            a.font_bold,
+            t.atoms.text_contrast_high,
+            web({
+              overflowWrap: 'break-word',
+              wordBreak: 'break-word',
+            }),
+          ]}>
           {word.value}
         </Text>