palantir/blueprint
Vedi su GitHubTable2 truncated table cells not vertically centered with non-default table row heights
Open
#5767 aperta il 21 nov 2022
P2Package: tableType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
Steps to reproduce
- Create a table with non-default row heights, in my screenshot below this is 30px via
defaultRowHeight={30} - Add cells formatted with
<TruncatedFormat2 />
Actual behavior
The row contents are not all vertically lined up
Expected behavior
Row contents are still vertically centered within the row.
Possible solution
TruncatedFormat2 does some relative styling for the truncated value + truncated-more-button. It could instead be flex-styled to right align the more-button.