Skip to content

Commit

Permalink
#6642 Matrix wrong paddings. - replace border-spacing with tr borders
Browse files Browse the repository at this point in the history
Fixes #6642
  • Loading branch information
novikov82 committed Aug 10, 2023
1 parent 605e492 commit 5474722
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/defaultV2-theme/blocks/sd-table.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
.sd-table {
width: 100%;
background: $question-background;
border-collapse: separate;
border-collapse: collapse;
white-space: normal;
border-spacing: 0 16px;
margin: calcSize(-2) 0;
table-layout: fixed;
&>tbody {
&>tr+tr {
border-top: calcSize(2) solid transparent;
}
}

&>thead {
border-bottom: calcSize(2) solid transparent;
}
}

.sd-table--align-top {
Expand Down

0 comments on commit 5474722

Please sign in to comment.