This page is styled using a table layout. I found this commit that removes display: table on the parent container but display: table-row / table-cell are still applied to the children. By default, The widths of the table and its cells are adjusted to fit the content, and thus the right side is wider than expected.
Possible Solutions
Revert this commit and add table-layout: fixed, so that the content of the table cells will not affect the width of the table.
Drop the table layout completely, and restyle this page with other CSS techniques. (maybe float? I confess I am no expert in CSS)
I’d be happy to PR this fix once we have decided a general direction.
I certainly tested it with everything I had on OSX. ~On which platforms and browsers were this broken?~
Oh it’s a different tab.
This is the CSS for the right column on preferences tab: it has two width properties. I dropped the 900px and the 170px took effect. How did this work before…
Will go through user.scss carefully and have a more complete PR up; will also have someone else test the view this time.
I don’t think it’s on the correct element, because in my F12 browser testing I had to add it another place for it to work (unless it got added recently).
That’s the correct element; it has word-wrap: break_word set but not break-word: break-word.
word-wrap on its own should work, but it failed to do the job because:
This page is styled using a table layout. … By default, The widths of the table and its cells are adjusted to fit the content, and thus the right side is wider than expected.
I know I am guilty of breaking it twice :
It shouldn’t need to have word-break: break-word.
Some inconsistencies in the existing CSS bit us. i.e. setting two different widths for the same element at two different places. This could potentially cause more problems but “luckily” everything just works right now.
Although going through user.scss may take some time and some serious testing / review, maybe it will help in the long run?
But again: I agree with you, that word-break: break-wordcan make it work, and I agree making it work is a priority.