Skip to content
Permalink
Browse files

fix(grid): Multi-column headers missing rtl border

  • Loading branch information...
PreslavKozovski authored and joneff committed Sep 10, 2018
1 parent 265c8a1 commit 5efe3e879915b20d46bf330b7e5997a4edc88ae2
@@ -485,11 +485,6 @@
right: 0;
}


.k-grid-header .k-header {
position: static;
}

.k-gantt-delete {
float: right;
}
@@ -221,23 +221,28 @@
border-right-width: 0;
}

th,
td {
th {
border-width: 0 $grid-cell-vertical-border-width 1px 0;

&:first-child {
border-left-width: $grid-cell-vertical-border-width;
border-right-width: 0;
}
}

&:last-child {
border-left-width: 0;
}
td {
border-width: 0 $grid-cell-vertical-border-width 0 0;

&:first-child {
border-right-width: 0;
}
}

td.k-hierarchy-cell {
border-left-width: 0;
border-right-width: 0;
}
.k-hierarchy-cell + td:not(:last-child) {
border-left-width: $grid-cell-vertical-border-width;

.k-hierarchy-cell + td {
border-right-width: 0;
}

.k-grid-header,
@@ -248,8 +253,9 @@

.k-grid-header {
.k-header {
&:first-child {
border-right-width: 0;
&.k-first {
border-left-width: 0;
border-right-width: $grid-cell-vertical-border-width;
}
}

@@ -266,16 +272,6 @@
}
}

.k-filter-row td {
&:first-child {
border-left-width: $grid-cell-vertical-border-width;
}

&:last-child {
border-left-width: 0;
}
}

.k-filtercell-operator {
margin-left: 0;
margin-right: $cell-padding-y / 2;
@@ -304,6 +300,25 @@
.k-grid-header-locked + .k-grid-header-wrap.k-auto-scrollable {
margin-left: 0;
}

.k-group-footer td {
border-width: $grid-group-footer-border-y 0;
}
.k-group-footer .k-group-cell + td {
border-right-width: $grid-group-footer-second-cell-border;
}

.k-grid-toolbar {

.k-button + .k-button {
margin: 0 $grid-toolbar-button-spacing 0 0;
}
}

.k-grouping-row .k-icon {
margin-left: $icon-size / 2;
margin-right: add-two(-1 * $cell-padding-x, $icon-size / 2);
}
}

.k-tooltip.k-tooltip-validation {
@@ -31,6 +31,18 @@ $grid-header-font-size: 12px !default;
.k-button:active {
box-shadow: none;
}

&[dir="rtl"],
.k-rtl & {

th {
border-width: 0 $grid-cell-vertical-border-width 1px 0;
}

td {
border-width: 0 $grid-cell-vertical-border-width $grid-cell-horizontal-border-width 0;
}
}
}

.k-grid-header {
@@ -29,6 +29,22 @@
td {
border-left-color: transparent;
}

&[dir="rtl"],
.k-rtl & {

th,
td {
border-right-color: transparent;
}

.k-grid-header {

thead > tr:not(:only-child) > th {
border-right-color: $grid-border;
}
}
}
}

.k-grid-header {

0 comments on commit 5efe3e8

Please sign in to comment.
You can’t perform that action at this time.