mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
fix(challenges): format summary with markdown and do not split words, fixes #10371
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user