Merge pull request #4109 from mfilser/minicard_no_text_one_line

Card labels on minicard withouth text are now at the same line again
This commit is contained in:
Lauri Ojansivu 2021-10-31 19:11:10 +02:00 committed by GitHub
commit 8abea470fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -9,7 +9,7 @@ template(name="minicard")
if cover
.minicard-cover(style="background-image: url('{{cover.url}}');")
if labels
.minicard-labels
.minicard-labels(class="{{#if hiddenMinicardLabelText}}minicard-labels-no-text{{/if}}")
each labels
unless hiddenMinicardLabelText
span.js-card-label.card-label(class="card-label-{{color}}" title=name)

View file

@ -88,6 +88,10 @@
margin-right: 3px
margin-bottom: 3px
.minicard-labels-no-text
display: flex
flex-wrap: wrap
.minicard-custom-fields
display:block;
.minicard-custom-field