Fix some alignment issues with matrix questions in surveys

Resolves MS-911 #complete
This commit is contained in:
Ramon Wenger 2024-04-03 11:56:48 +02:00
parent b9ed344dd1
commit 54f3aa40dc
2 changed files with 17 additions and 13 deletions

View File

@ -34,9 +34,9 @@ $icon-size: 20px;
display: inline-flex;
flex-direction: row;
align-items: center;
margin-right: 10px;
cursor: pointer;
width: auto;
gap: $small-spacing;
svg {
width: 15px;
@ -65,7 +65,6 @@ $icon-size: 20px;
justify-content: center;
align-items: center;
box-sizing: border-box;
margin-right: 10px;
transition: background-color 0.5s;
}
@ -126,7 +125,7 @@ $icon-size: 20px;
#{$base}__label-container {
display: -ms-grid;
display: grid;
grid-template-columns: 30px 1fr;
grid-template-columns: 20px 1fr;
align-items: start;
justify-content: center;
}

View File

@ -130,6 +130,7 @@
display: flex;
width: 100%;
flex-direction: row;
>td {
@include small-text;
}
@ -155,6 +156,7 @@
vertical-align: middle;
justify-content: center;
flex: 1;
text-align: left;
@include small-text;
@ -206,6 +208,7 @@
justify-content: center;
display: flex;
text-align: left;
&:first-child {
justify-content: flex-start;
@ -249,9 +252,11 @@
display: flex;
flex-direction: column;
row-gap: $medium-spacing;
tr {
width: 100%;
}
tbody {
flex-direction: column;
row-gap: $medium-spacing;