qpixel
qpixel copied to clipboard
Tables break words oddly when other columns are too wide
meta:290996
The automatic layout and word-breaking algorithm used causes some words to be split non-ideally.
Presumably caused by word-break: break-word
here:
https://github.com/codidact/qpixel/blob/8d71abf4bc06eff6d945a862d4da7ff9befd2206/app/assets/stylesheets/posts.scss#L196-L198
Manually disabling this rule fixes the issue (at least on Edge), though I am not sure whether there is a case where the above rule is necessary.
You could disable break-word
again [just] inside tables. I assume the rule was made originally to keep people from typing Aaaaaaaaaaaa...aaa
and breaking the site layout.