mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
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:
commit
8abea470fb
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue