fix(challenges): format summary with markdown and do not split words, fixes #10371

This commit is contained in:
Matteo Pagliazzi
2018-05-18 17:33:38 +02:00
parent a0c51ee4ca
commit c39b9dc320

View File

@@ -32,7 +32,7 @@
:member="isMember", :member="isMember",
v-once v-once
) )
.challenge-description {{challenge.summary}} .challenge-description(v-markdown='challenge.summary')
.well-wrapper(v-if="fullLayout") .well-wrapper(v-if="fullLayout")
.well .well
div(v-for="task in tasksData", :class="{'muted': task.value === 0}", v-once) div(v-for="task in tasksData", :class="{'muted': task.value === 0}", v-once)
@@ -162,7 +162,7 @@
.challenge-description { .challenge-description {
color: $gray-200; color: $gray-200;
margin: 0 1.5em; margin: 0 1.5em;
word-break: break-all; word-break: break-word;
} }
.well { .well {