From 7035c8f5ce4ac03c750829e6bc971488f55eeaf0 Mon Sep 17 00:00:00 2001 From: Gleb Gorelov Date: Mon, 17 Oct 2022 20:42:06 +0400 Subject: [PATCH] Table headers are not aligned with columns jmix-framework/jmix#1088 (cherry picked from commit 4d1b3dfa6abce6793fd1406faf75f3530d244a86) --- .../src/main/resources/halo/components/table/table.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jmix-ui/ui-themes/src/main/resources/halo/components/table/table.scss b/jmix-ui/ui-themes/src/main/resources/halo/components/table/table.scss index 2f499c0058..3239917af6 100644 --- a/jmix-ui/ui-themes/src/main/resources/halo/components/table/table.scss +++ b/jmix-ui/ui-themes/src/main/resources/halo/components/table/table.scss @@ -463,4 +463,10 @@ $jmix-table-drag-indicator-color: $v-focus-color; } } } + + // Overrides Vaadin value so 'com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow.getRealCellWidth' + // returns correct value for header cells + .#{$primary-stylename}-table td { + box-sizing: content-box; + } }