Steps to replicate the issue (include links if applicable):
- Visit https://doc.wikimedia.org/codex/latest/components/demos/table.html#with-sorting
- Edit one of the column headings to be longer
What happens?:
Long sort button labels make the buttons overflow and cause the sort icon to be hidden. In <th>s with end alignment, the problem is more accentuated (see top screenshot) due to an unwanted white space being added to the end of the cell.
What should have happened instead?:
The text should wrap like non-sortable column headings
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): Codex 1.6.0