diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-05-14 09:33:31 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-05-14 09:37:34 +0200 |
commit | 9bf19f81a48a2e30f32fbc71b2faaa8807d56cdb (patch) | |
tree | 8c7ea685ea7b8758ab88043c0965eb2008c49316 /client | |
parent | b98347947661e5c79f286a4e5d7f11e614dfb43c (diff) | |
download | wekan-9bf19f81a48a2e30f32fbc71b2faaa8807d56cdb.tar.gz wekan-9bf19f81a48a2e30f32fbc71b2faaa8807d56cdb.tar.bz2 wekan-9bf19f81a48a2e30f32fbc71b2faaa8807d56cdb.zip |
Fix card count position
When introducing markdown in the title (b795115042c2eb6bccb), the card
count got pushed outside of the List Header.
Add its own style (by manually merge small and quiet), and restore its
original placement.
Fixes #2403
Diffstat (limited to 'client')
-rw-r--r-- | client/components/lists/list.styl | 4 | ||||
-rw-r--r-- | client/components/lists/listHeader.jade | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/client/components/lists/list.styl b/client/components/lists/list.styl index dcbeb93f..05da07e1 100644 --- a/client/components/lists/list.styl +++ b/client/components/lists/list.styl @@ -99,6 +99,10 @@ .highlight color: #ce1414 + .cardCount + color: #8c8c8c + font-size: 0.8em + .list-body flex: 1 1 auto flex-direction: column diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade index d9644d00..306659b4 100644 --- a/client/components/lists/listHeader.jade +++ b/client/components/lists/listHeader.jade @@ -19,7 +19,7 @@ template(name="listHeader") if showCardsCountForList cards.count | - p.quiet.small {{cardsCount}} {{_ 'cards-count'}} + span(class="cardCount") {{cardsCount}} {{_ 'cards-count'}} if isMiniScreen if currentList if isWatching |