Class oj-table-column-header-sort-placeholder causes misalignment of text in column headers – Config
SummaryWhat is the purpose of oj-table-column-header-sort-placeholder? Can we reduce its size via css customization to make our column headers look better?
Our column headers tend to be longer than one word (see image 1). Configuration JET makes all columns the same width and the header text is cut short.
When we apply the following css changes to wrap the text so it is fully displayed within the column header…
… we get the extra space which causes misalignment (see image 2). This happens because div class=“oj-table-column-header-sort-placeholder” takes 24x24 px of space.
We can eliminate this div by reducing its width, for example: