Closed njwhc closed 3 years ago
I'd support the change. 👍 Size of the sorting icons should never change - and I'm sure that wasn't the original intention.
:tada: This issue has been resolved in version 11.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Summary
If the column headers in a table are long and wrap to multiple lines, the sort icons shrink.
Reproduction
Stackblitz reproduction
Steps to reproduce:
hc-sort-header
Workaround / Potential Change
In the application I work on, we have added a style override to our Cashmere tables to force the icons to be a consistent size.
As we're talking CSS, there are numerous other ways to get sort icon size consistency. For instance, applying either
display: table
orposition: fixed
to.hc-sort-header-icon
will both yield consistently sized icons (perhaps with some margin adjustments).However, the above override also aligns the icons to the bottom of the column header row:
As far as I know, we have not observed any negative side effects from the above override. It may be worth considering this change in Cashmere itself.