fix(challenges): fix display issues, fixes #10397

This commit is contained in:
Matteo Pagliazzi
2018-05-29 19:25:43 +02:00
parent 6e7b9f1f93
commit 0e3496395c
2 changed files with 4 additions and 3 deletions

View File

@@ -9,10 +9,10 @@
.col-12.col-md-6
h1(v-markdown='challenge.name')
div
span.mr-1.ml-0
span.mr-1.ml-0.d-block
strong(v-once) {{ $t('createdBy') }}:
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) }}:
group-link.mx-1(:group="challenge.group")
// @TODO: make challenge.author a variable inside the createdBy string (helps with RTL languages)
@@ -84,6 +84,7 @@
h1 {
color: $purple-200;
margin-bottom: 8px;
}
.margin-left {