Merge branch 'hotfix/survey-matrix-styling' into develop

This commit is contained in:
Ramon Wenger 2022-12-07 14:05:41 +01:00
commit 1ebd8dd5bb
2 changed files with 34 additions and 2 deletions

View File

@ -120,15 +120,24 @@
margin-bottom: $large-spacing; margin-bottom: $large-spacing;
&__row { &__row {
display: table-row; display: flex;
width: 100%;
flex-direction: row;
border-top: 1px solid $color-silver; border-top: 1px solid $color-silver;
> td {
@include small-text;
}
} }
&__cell { &__cell {
display: table-cell; display: flex;
padding: $medium-spacing 0; padding: $medium-spacing 0;
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
justify-content: center;
flex: 1;
@include small-text; @include small-text;
span { span {

View File

@ -29,3 +29,26 @@
.sv-radio__svg { .sv-radio__svg {
display: none !important; display: none !important;
} }
table, tbody, thead, tr {
box-sizing: border-box;
}
tbody, thead, tr {
display: flex;
flex-flow: row wrap;
}
td, th {
flex: 1;
}
.sv-table__cell,
.sv-table__cell:not(:first-child),
.sv-table__cell:not(:last-child)
{
padding: 0;
}