Fix safari not breaking words on home page
This commit is contained in:
parent
41b24d415d
commit
aa77effcb6
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user