Skip to content

Commit

Permalink
fix(grid): filter row borders are missing in RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed Apr 24, 2018
1 parent a2c0254 commit f939f8e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions packages/default/scss/grid/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@
td.k-hierarchy-cell {
border-left-width: 0;
}
.k-hierarchy-cell + td {
border-left-width: $grid-cell-vertical-border-width;
}

.k-grid-header,
.k-grid-footer {
Expand All @@ -269,6 +272,16 @@
}
}

.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;
Expand Down Expand Up @@ -608,13 +621,13 @@

td,
th {
border-width: 0 0 1px 1px;
border-width: 0 0 1px $grid-cell-vertical-border-width;
white-space: nowrap;
padding: $grid-filter-cell-padding-y $grid-filter-cell-padding-x;
}

td:first-child {
border-left: 0;
border-left-width: 0;
}

.k-multiselect {
Expand All @@ -633,7 +646,7 @@
> span,
.k-filtercell-wrapper {
display: flex;
flex: 1;
flex: 1 1 0;

> label {
vertical-align: middle;
Expand Down

0 comments on commit f939f8e

Please sign in to comment.