mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix(challenges): fix display issues, fixes #10397
This commit is contained in:
@@ -9,10 +9,10 @@
|
|||||||
.col-12.col-md-6
|
.col-12.col-md-6
|
||||||
h1(v-markdown='challenge.name')
|
h1(v-markdown='challenge.name')
|
||||||
div
|
div
|
||||||
span.mr-1.ml-0
|
span.mr-1.ml-0.d-block
|
||||||
strong(v-once) {{ $t('createdBy') }}:
|
strong(v-once) {{ $t('createdBy') }}:
|
||||||
user-link.mx-1(:user="challenge.leader")
|
user-link.mx-1(:user="challenge.leader")
|
||||||
span.mr-1.ml-0(v-if="challenge.group && challenge.group.name !== 'Tavern'")
|
span.mr-1.ml-0.d-block(v-if="challenge.group && challenge.group.name !== 'Tavern'")
|
||||||
strong(v-once) {{ $t(challenge.group.type) }}:
|
strong(v-once) {{ $t(challenge.group.type) }}:
|
||||||
group-link.mx-1(:group="challenge.group")
|
group-link.mx-1(:group="challenge.group")
|
||||||
// @TODO: make challenge.author a variable inside the createdBy string (helps with RTL languages)
|
// @TODO: make challenge.author a variable inside the createdBy string (helps with RTL languages)
|
||||||
@@ -84,6 +84,7 @@
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: $purple-200;
|
color: $purple-200;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.margin-left {
|
.margin-left {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
word-break: break-all;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user