Update rendering of solutions

This commit is contained in:
Ramon Wenger 2019-02-05 18:51:41 +01:00
parent 4b93b410a5
commit 47761c11c0
1 changed files with 6 additions and 2 deletions

View File

@ -5,8 +5,7 @@
<template v-else>ausblenden</template>
</a>
<transition name="fade">
<p class="solution__text fade" data-cy="solution-text" v-if="visible">
{{value.text}}
<p class="solution__text fade" data-cy="solution-text" v-if="visible" v-html="value.text">
</p>
</transition>
</div>
@ -52,6 +51,11 @@
&__text {
font-size: toRem(18px);
color: $color-grey;
/deep/ p {
font-size: toRem(18px);
color: $color-grey;
}
}
}