Fix some alignment issues with matrix questions in surveys
Resolves MS-911 #complete
This commit is contained in:
parent
b9ed344dd1
commit
54f3aa40dc
|
|
@ -34,9 +34,9 @@ $icon-size: 20px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-right: 10px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
gap: $small-spacing;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
|
|
@ -65,7 +65,6 @@ $icon-size: 20px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-right: 10px;
|
|
||||||
transition: background-color 0.5s;
|
transition: background-color 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,7 +125,7 @@ $icon-size: 20px;
|
||||||
#{$base}__label-container {
|
#{$base}__label-container {
|
||||||
display: -ms-grid;
|
display: -ms-grid;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 30px 1fr;
|
grid-template-columns: 20px 1fr;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
>td {
|
>td {
|
||||||
@include small-text;
|
@include small-text;
|
||||||
}
|
}
|
||||||
|
|
@ -155,6 +156,7 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
@include small-text;
|
@include small-text;
|
||||||
|
|
||||||
|
|
@ -206,6 +208,7 @@
|
||||||
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
@ -249,9 +252,11 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
row-gap: $medium-spacing;
|
row-gap: $medium-spacing;
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody {
|
tbody {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
row-gap: $medium-spacing;
|
row-gap: $medium-spacing;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue