Re:Anti-Ghosting
by eyelidlessness on Tuesday June 02, 2020 @01:44PM
(#23393775)
Not directly related to the post, but disabling `word-break: break-all` on `.section .ans` made the text a lot more readable for me.
[ Parent
| on HN ]
Re:Anti-Ghosting
by aarongolliver on Tuesday June 02, 2020 @05:12PM
(#23396366)
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')
Re:Anti-Ghosting
by eyelidlessness on Tuesday June 02, 2020 @05:25PM
(#23396489)
Well, 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!
Re:Anti-Ghosting
by cryptonector on Tuesday June 02, 2020 @05:21PM
(#23396448)
You 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.
Re:Anti-Ghosting
by eyelidlessness on Wednesday June 03, 2020 @11:25PM
(#23412037)
Finding 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!
Re:Anti-Ghosting
by aarongolliver on Friday June 12, 2020 @03:13AM
(#23496839)
Thank you for this. I thought the usefulness of being able to press "ctrl-c, f12, ctrl-v, enter" would be self evident.
It’s nearly impossi
ble to read on mobi
le. Luckily, most b
rowsers have some s
ort of a “reader mo
de” which solves th
e problem.
Re:Anti-Ghosting
by game_the0ry on Tuesday June 02, 2020 @04:23PM
(#23395897)
As a front end engineer, I can't believe what I am seeing. Someone got paid to make that. They looked at the finished outcome and said, 'eh, good enough to deploy to prod.'
If that's how bad they are at web design, I wonder how bad their products are.
Re:Anti-Ghosting
by eyelidlessness on Tuesday June 02, 2020 @05:30PM
(#23396545)
Hey now, try not to crap on the work of people whose circumstances you don't know. A quick glance at the HTTP response shows the page is served by Plesk. It's often the case that off the shelf software like this is selected, along with a "nice looking" theme, by someone with no technical background. And it's also often the case that said "nice looking" themes have not been built to accommodate the use case they're applied to.
Re:Anti-Ghosting
by game_the0ry on Friday June 05, 2020 @08:11PM
(#23435469)
You're too kind, my friend.
Someone made the explicit decision to break in the middle of words without hyphenation. Very strange. Or, they reused something without any idea what it did.
Re:Anti-Ghosting
by renewiltord on Tuesday June 02, 2020 @06:41PM
(#23397350)
Wouldn't it make sense that they're better for being bad at the non-critical stuff? Assuming the market will pay X for their goods, mostly dependent on the goods' quality Q and very little on W. Assume that it costs Y to build the product (and that higher Y leads to higher Q) and Z to build the webpage (and that higher Z leads to higher W). Assume that they want the profit to be as high as possible. Then they'll want Y+Z to be as small as possible, and you would hope that most of that cost-cutting is in Z so that Y+Z is as close to Y as possible.
That property is a feature for East Asian scripts, they probably made it look right in those languages and didn’t notice the regression in Latin script
Re:Anti-Ghosting
by cryptonector on Tuesday June 02, 2020 @05:18PM
(#23396431)
Yay browser consoles.