diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css index a802e640..57441176 100644 --- a/apps/web/src/styles/globals.css +++ b/apps/web/src/styles/globals.css @@ -25,3 +25,17 @@ width: 200%; height: 200%; } + +@layer utilities { + @supports not (overflow-wrap: anywhere) { + .break-anywhere { + word-break: break-word; + } + } + + @supports (overflow-wrap: anywhere) { + .break-anywhere { + overflow-wrap: anywhere; + } + } +} diff --git a/apps/web/src/views/card/components/Comment.tsx b/apps/web/src/views/card/components/Comment.tsx index 7f21f30b..000cb17c 100644 --- a/apps/web/src/views/card/components/Comment.tsx +++ b/apps/web/src/views/card/components/Comment.tsx @@ -138,7 +138,7 @@ const Comment = ({ ) : (
diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.ts index 26533de7..6ecab08f 100644 --- a/apps/web/tailwind.config.ts +++ b/apps/web/tailwind.config.ts @@ -16,4 +16,4 @@ export default { }, }, }, -} satisfies Config; \ No newline at end of file +} satisfies Config;