Skip to content

Commit

Permalink
#7564 Matrix question has rows of different height in alternate rows …
Browse files Browse the repository at this point in the history
…mode

Fixes #7564
  • Loading branch information
novikov82 committed Jan 9, 2024
1 parent 9e712b4 commit 6aea4f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/defaultV2-theme/blocks/sd-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,22 @@
padding-right: calcSize(2);
}

.sd-table__row:first-of-type>.sd-table__cell {
border-top: calcSize(1) solid $background-dim-light;
}
.sd-table__row:last-of-type>.sd-table__cell {
border-bottom: calcSize(1) solid $background-dim-light;
}

.sd-table__row:nth-of-type(odd) {

&>td,
td:first-of-type {
border-color: $background-dim-light;
background-color: $background-dim-light;

&.sd-matrix__text--checked {
border-color: $primary-light;
background-color: $primary-light;
}

Expand Down

0 comments on commit 6aea4f2

Please sign in to comment.