4 ms·
It's my first time trying something like this, but I played around in the console and if you copy/paste this into it the issue is fixed document.getElementsByC
by aarongolliver 6y ago
It's my first time trying something like this, but I played around in the console and if you copy/paste this into it the issue is fixed
document.getElementsByClassName('ans')[0].attributeStyleMap.set('word-break', 'normal')
- cryptonector 6y agoYou can find the style using the inspector and then just change. Much faster that way, though not as cool as writing some JS, I admit.
- eyelidlessness 6y agoFinding it by knowing the dev tools is a technique not everyone has at their disposal. I offered the suggestion of how it could be fixed, someone provided a copypasta to do it for everyone regardless of familiarity with the dev tools. That should be applauded!
- aarongolliver 6y agoThank you for this. I thought the usefulness of being able to press "ctrl-c, f12, ctrl-v, enter" would be self evident.
- eyelidlessness 6y agoWell, as a long time web dev who's been backend only for a few years now, so my frontend skills are rusty, you taught me something new. I didn't know about `attributeStyleMap`. Way to go first time!