0

I am developing a website with a sortable table on it. The table-header is shown here:

th without arrow

As soon as I insert the sort-direction character (arrow up or down) into the span.sortdirchar, the height of the <th> element changes from 20 to 22. The problem is that the character is hight than the line height for some reason:

th with arrow

So the th wraps around the characters height (more than 16px), although the inspect-tool tells me that my span is only 16px tall.

Torge Rosendahl
  • 482
  • 6
  • 17

0 Answers0