Skip to content

Commit 0a55797

Browse files
committed
Use built-in wrap-anywhere utility
Replace our custom `break-anywhere` utility with the built-in one available in Tailwind v4. See https://tailwindcss.com/docs/overflow-wrap#wrapping-anywhere.
1 parent f3688d2 commit 0a55797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MarkdownView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export default function MarkdownView(props: MarkdownViewProps) {
199199
// a review in the future.
200200
return (
201201
<div
202-
className={classnames('w-full break-anywhere cursor-text', {
202+
className={classnames('w-full wrap-anywhere cursor-text', {
203203
// A `relative` wrapper around the `Popover` component is needed for
204204
// when the native Popover API is not supported.
205205
relative: mentionsEnabled,

0 commit comments

Comments
 (0)