diff --git a/public/plugins/vue/tt-components/css/tt-table.css b/public/plugins/vue/tt-components/css/tt-table.css index 235d1365b..76d83e178 100644 --- a/public/plugins/vue/tt-components/css/tt-table.css +++ b/public/plugins/vue/tt-components/css/tt-table.css @@ -327,3 +327,8 @@ td { height: 21px; grid-column-start: 3; } + +.tt-table-header { + vertical-align: top !important; + text-align: center; +} \ No newline at end of file diff --git a/public/plugins/vue/tt-components/tt-table.js b/public/plugins/vue/tt-components/tt-table.js index 2aebd6873..7e6bfe15a 100644 --- a/public/plugins/vue/tt-components/tt-table.js +++ b/public/plugins/vue/tt-components/tt-table.js @@ -15,6 +15,7 @@ * For 'iconSelect', an additional 'icon' property (CSS class for the icon) is required. * @property {boolean} [sortable=true] - (Optional) Indicates whether the column is sortable. Default is true. * @property {string} [class] - (Optional) Additional CSS classes to apply to the column. + * @property {string} [headerClass] - (Optional) Additional CSS classes to apply to the column header. * @property {string} [suffix] - (Optional) Additional CSS classes to apply to the column. * @property {string} [prefix] - (Optional) Additional CSS classes to apply to the column. * */ @@ -144,26 +145,26 @@ Vue.component('tt-table', {