mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
fix(challenges): fix display issues, fixes #10397
This commit is contained in:
parent
6e7b9f1f93
commit
0e3496395c
2 changed files with 4 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue