Fix horizontal border for striped table view
This commit is contained in:
parent
bb4189aa7d
commit
a9dd26d798
@ -316,11 +316,18 @@ $tree-cell-indent: 1em !default;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&.striped {
|
&.striped {
|
||||||
.table-row-cell {
|
.table-row-cell {
|
||||||
-fx-background-insets: 0;
|
-fx-background-insets: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.bordered {
|
||||||
|
.table-row-cell {
|
||||||
|
-fx-background-insets: 0, 0 0 1 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.table-row-cell:filled:odd {
|
.table-row-cell:filled:odd {
|
||||||
-fx-background-color: -color-cell-border, -color-cell-bg-odd;
|
-fx-background-color: -color-cell-border, -color-cell-bg-odd;
|
||||||
}
|
}
|
||||||
@ -472,6 +479,12 @@ $tree-cell-indent: 1em !default;
|
|||||||
-fx-background-insets: 0;
|
-fx-background-insets: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.bordered {
|
||||||
|
.tree-table-row-cell {
|
||||||
|
-fx-background-insets: 0, 0 0 1 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tree-table-row-cell:filled:odd {
|
.tree-table-row-cell:filled:odd {
|
||||||
-fx-background-color: -color-cell-border, -color-cell-bg-odd;
|
-fx-background-color: -color-cell-border, -color-cell-bg-odd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user