Skip to content

Commit

Permalink
fix(table): table-list group row is misaligned in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
Juveniel authored and inikolova committed Mar 5, 2024
1 parent fe8c913 commit 3b43974
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/default/scss/table/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,15 @@
list-style: none;
outline: none;

.k-table-row {
position: relative;
}

.k-table-row,
.k-table-group-row {
width: 100%;
box-sizing: border-box;
display: table-row;
position: relative;
}
.k-table-row.k-first {
border-top: 1px solid currentColor;
Expand All @@ -130,6 +133,7 @@
}

.k-table-group-row {
position: sticky;

&::before {
content: "\200b";
Expand Down
7 changes: 6 additions & 1 deletion packages/fluent/scss/table/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,15 @@
list-style: none;
outline: none;

.k-table-row {
position: relative;
}

.k-table-row,
.k-table-group-row {
width: 100%;
box-sizing: border-box;
display: table-row;
position: relative;
}
.k-table-row:first-child .k-table-td,
.k-table-row:last-child .k-table-td {
Expand All @@ -159,6 +162,8 @@
}

.k-table-group-row {
position: sticky;

&::before {
content: "\200b";
padding-inline: var( --INTERNAL--kendo-table-group-row-padding-x, 0 );
Expand Down

0 comments on commit 3b43974

Please sign in to comment.