From a9dd26d79885970914f2719f4a34f94e8401f2e6 Mon Sep 17 00:00:00 2001 From: mkpaz Date: Wed, 28 Sep 2022 15:26:12 +0400 Subject: [PATCH] Fix horizontal border for striped table view --- styles/src/components/_data.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/styles/src/components/_data.scss b/styles/src/components/_data.scss index d7178e8..0eb56b4 100755 --- a/styles/src/components/_data.scss +++ b/styles/src/components/_data.scss @@ -316,11 +316,18 @@ $tree-cell-indent: 1em !default; } } + &.striped { .table-row-cell { -fx-background-insets: 0; } + &.bordered { + .table-row-cell { + -fx-background-insets: 0, 0 0 1 0; + } + } + .table-row-cell:filled:odd { -fx-background-color: -color-cell-border, -color-cell-bg-odd; } @@ -472,6 +479,12 @@ $tree-cell-indent: 1em !default; -fx-background-insets: 0; } + &.bordered { + .tree-table-row-cell { + -fx-background-insets: 0, 0 0 1 0; + } + } + .tree-table-row-cell:filled:odd { -fx-background-color: -color-cell-border, -color-cell-bg-odd; }