From eb923d275021f1d0ba3b97c9cd59a2f6165dbc0c Mon Sep 17 00:00:00 2001 From: callmeroot Date: Thu, 5 Sep 2024 23:07:39 +0530 Subject: [PATCH] Added header align same as content alignment --- lib/KTable/index.vue | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/KTable/index.vue b/lib/KTable/index.vue index f81a89d73..b8546f56c 100644 --- a/lib/KTable/index.vue +++ b/lib/KTable/index.vue @@ -26,7 +26,8 @@ :style="[getHeaderStyle(header), isColumnSortActive(index) ? { color: $themeBrand.primary.v_1000 } : { color: $themePalette.grey.v_800 }, { backgroundColor: $themePalette.white } , - isColumnFocused(index) ? { backgroundColor: $themePalette.grey.v_50 } : {}]" + isColumnFocused(index) ? { backgroundColor: $themePalette.grey.v_50 } : {}, + { textAlign: getTextAlign(header.dataType) }]" role="columnheader" data-focus="true" :aria-colindex="index + 1" @@ -90,7 +91,12 @@