Skip to content

Commit

Permalink
Bug/6876 mobile matrix issues (#7129)
Browse files Browse the repository at this point in the history
* Fixed #6876 - Mobile: issues with matrices

* Work for #6876 - Mobile: issues with matrices

* Work for #6876 - Mobile: issues with matrices - fixed top padding

* Work for #6876 - Mobile: issues with matrices - updated etalons

---------

Co-authored-by: tsv2013 <[email protected]>
  • Loading branch information
tsv2013 and tsv2013 authored Oct 13, 2023
1 parent 12e3d95 commit 8a167cb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/defaultV2-theme/blocks/sd-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@
.sd-table__cell.sd-matrix__cell {
display: flex;
align-items: flex-start;
border-top: none;
border-bottom: none;

.sd-matrix__responsive-title {
margin-left: calcSize(1);
Expand All @@ -446,8 +448,8 @@
}

.sd-matrix__table {
tr+tr {
margin-top: calcSize(1);
.sd-table__row {
padding-top: calcSize(1);
}
}

Expand Down Expand Up @@ -591,6 +593,14 @@
}
}

.sd-root-modern--mobile {
.sd-table__question-wrapper {
.sd-boolean-root {
margin: initial;
}
}
}

.sd-table.sd-matrixdynamic {
table-layout: auto;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8a167cb

Please sign in to comment.