Update styling of survey answers

This commit is contained in:
Ramon Wenger 2020-10-20 10:27:34 +02:00
parent 7a94abb4c7
commit 0a9c1680de
2 changed files with 3 additions and 2 deletions

View File

@ -64,7 +64,7 @@ export default {
if (!answer.answer) {
return previous;
}
if (answer.type === 'matrix') {
if (answer.type === 'matrix' || answer.type === 'checkbox') {
// wrap all the answers inside li tags and convert to a single string
const answerText = answer.answer.map(a => `<li class="solution-text__list-item">${a}</li>`).join('');
return `

View File

@ -2,11 +2,12 @@
&__heading {
@include heading-4;
color: $color-silver-dark;
margin-bottom: $small-spacing;
}
&__answer {
@include regular-text;
margin-bottom: $medium-spacing;
margin-bottom: $large-spacing;
}
&__list {