Fix safari not breaking words on home page

This commit is contained in:
jahooma 2022-01-13 21:09:44 -06:00
parent 41b24d415d
commit aa77effcb6

View File

@ -31,7 +31,10 @@ export function Linkify(props: { text: string; gray?: boolean }) {
)
})
return (
<span className="break-words">
<span
className="break-words"
style={{ /* For iOS safari */ wordBreak: 'break-word' }}
>
{text.split(regex).map((part, i) => (
<Fragment key={i}>
{part}