Update styling of survey answers
This commit is contained in:
parent
7a94abb4c7
commit
0a9c1680de
|
|
@ -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 `
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue