Skip to content

Commit

Permalink
#6782 Matrix with detail - no headers, icons cut
Browse files Browse the repository at this point in the history
Fixes #6782
  • Loading branch information
novikov82 committed Aug 27, 2023
1 parent 22b72dd commit a10213e
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/defaultV2-theme/blocks/sd-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,12 @@
padding-top: calcSize(2);

.sd-table--no-header {
padding-top: calcSize(3);
padding-top: calcSize(4);
}
}
}
}

.sd-question--table {
&:not(.sd-element--with-frame) {
padding-top: calcSize(3);
margin-top: calcSize(-3);
padding-bottom: calcSize(0.25);
margin-bottom: calcSize(-0.25);
}
}

.sd-question--table>.sd-question__content>.sd-table-wrapper .sd-table:not(.sd-table--no-header) {
margin-top: calcSize(-3);
Expand All @@ -74,11 +66,11 @@
}

.sd-question--table>.sd-question__header+.sd-question__content>.sd-table-wrapper .sd-table:not(.sd-table--no-header) {
margin-top: calcSize(0);
margin-top: calcSize(1);
}

&>.sd-row:not(:first-child) .sd-question--table>.sd-question__header+.sd-question__content>.sd-table-wrapper .sd-table:not(.sd-table--no-header) {
margin-top: calcSize(0);
margin-top: calcSize(1);
}
}

Expand Down Expand Up @@ -377,9 +369,6 @@
}

&.sd-element--nested {
&>.sd-question__header--location-top {
margin-top: calc(-1 * 0.25 * var(--sd-base-vertical-padding));
}

&>.sd-question__erbox--above-question {
margin-bottom: var(--sd-base-vertical-padding);
Expand All @@ -389,6 +378,12 @@
min-width: auto;
overflow-x: auto;
}
&>.sd-question__content {
padding-bottom: calcSize(0.25);
margin-bottom: calcSize(-0.25);
padding-top: calcSize(1);
margin-top: calcSize(-1);
}
}

&.sd-element--nested>.sd-question__content,
Expand Down

0 comments on commit a10213e

Please sign in to comment.