From 6aea4f268201469beefd2ae11f2e1a1bdb6e692e Mon Sep 17 00:00:00 2001 From: Aleksey Novikov Date: Tue, 9 Jan 2024 10:21:43 +0300 Subject: [PATCH] #7564 Matrix question has rows of different height in alternate rows mode Fixes #7564 --- src/defaultV2-theme/blocks/sd-table.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/defaultV2-theme/blocks/sd-table.scss b/src/defaultV2-theme/blocks/sd-table.scss index dbdb367bee..864cba3aa0 100644 --- a/src/defaultV2-theme/blocks/sd-table.scss +++ b/src/defaultV2-theme/blocks/sd-table.scss @@ -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; }