add break-anywhere custom css class with overflow-wrap: anywhere; property, allowing proper word breaking on long word
[unrelated] remove extra <div> element on review modal
Implementation Details
adding break-words tailwindcss class did not solve the issue as intended as tailwind's break-words class is translated to overflow-wrap: break-word; which doesn't help in causing long word to break.
see discussion https://github.com/tailwindlabs/tailwindcss/discussions/12127 for more info
closes #187
Changes
break-anywhere
custom css class withoverflow-wrap: anywhere;
property, allowing proper word breaking on long word<div>
element on review modalImplementation Details
adding
break-words
tailwindcss class did not solve the issue as intended as tailwind'sbreak-words
class is translated tooverflow-wrap: break-word;
which doesn't help in causing long word to break.see discussion
https://github.com/tailwindlabs/tailwindcss/discussions/12127
for more infoPreview / Screenshots
Before
After
Checklist