carbon-components-vue icon indicating copy to clipboard operation
carbon-components-vue copied to clipboard

Text align for columns in CvDataTable does not work anymore

Open KJaspers opened this issue 5 years ago • 4 comments
trafficstars

Using textAlign in the headingStyle does not work anymore, e.g. the PORT column in the storybook is no longer right aligned: http://vue.carbondesignsystem.com/?path=/story/components-cvdatatable--styled-columns

KJaspers avatar Sep 16 '20 06:09 KJaspers

This appears to be due to a change in the styling of the bx--table-header-label in core carbon. You can revert that by using 'display: block' or use 'float: right' instead.

lee-chase avatar Sep 16 '20 08:09 lee-chase

See https://github.com/carbon-design-system/carbon-components-vue/issues/1252. Issue is that the headingStyle is not applied correctly to the <th>

schuetza avatar Sep 13 '21 12:09 schuetza

From my point of view, you might close this in favor of #1252.

schuetza avatar Sep 13 '21 13:09 schuetza