Skip to content

Commit

Permalink
fix(grid): reduce the padding with a pixel due to the wrap element bo…
Browse files Browse the repository at this point in the history
…rder
  • Loading branch information
silviyaboteva authored and joneff committed Aug 13, 2021
1 parent 9c4ce9d commit 296a280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/default/scss/grid/_layout.scss
Expand Up @@ -600,7 +600,7 @@

.k-grid-header {
padding-inline-start: 0;
padding-inline-end: var(--kendo-scrollbar-width, $default-scrollbar-width);
padding-inline-end: calc(var(--kendo-scrollbar-width, #{$default-scrollbar-width} + 1px) - 1px );
border-bottom-width: 1px;
font-size: $grid-header-font-size;

Expand Down Expand Up @@ -719,7 +719,7 @@

.k-grid-footer {
padding-inline-start: 0;
padding-inline-end: var(--kendo-scrollbar-width, $default-scrollbar-width);
padding-inline-end: calc(var(--kendo-scrollbar-width, #{$default-scrollbar-width} + 1px) - 1px );
border-width: 1px 0 0;

td {
Expand Down
2 changes: 1 addition & 1 deletion packages/default/scss/pivotgrid/_layout.scss
Expand Up @@ -64,7 +64,7 @@
// Column Headers
.k-pivotgrid-column-headers {
padding-inline-start: 0;
padding-inline-end: var(--kendo-scrollbar-width, $default-scrollbar-width);
padding-inline-end: calc(var(--kendo-scrollbar-width, #{$default-scrollbar-width} + 1px) - 1px );
overflow: hidden;
}

Expand Down

0 comments on commit 296a280

Please sign in to comment.