mirror of
https://github.com/wekan/wekan.git
synced 2026-11-05 01:20:07 -05:00
On minicard, make comment icon and number of comments have red color
on white rounded background, so it is more visible when there is comments on card. Thanks to xet7 !
This commit is contained in:
1 parent
48ebc5f117
commit
bbc68309af
2 files changed
+12
-2
No files matched your search
@@ -74,7 +74,10 @@ template(name="minicard")
|
||||
if comments.count
|
||||
.badge(title="{{_ 'card-comments-title' comments.count }}")
|
||||
span.badge-icon.fa.fa-comment-o.badge-comment
|
||||
span.badge-text= comments.count
|
||||
= ' '
|
||||
= comments.count
|
||||
//span.badge-comment.badge-text
|
||||
//| {{_ 'comment'}}
|
||||
if getDescription
|
||||
.badge.badge-state-image-only(title=getDescription)
|
||||
span.badge-icon.fa.fa-align-left
|
||||
|
||||
@@ -144,7 +144,14 @@
|
||||
.badge-text
|
||||
vertical-align: middle
|
||||
&.badge-comment
|
||||
margin-bottom: 0.1rem
|
||||
display: block
|
||||
border-radius: 4px
|
||||
padding: 1px 3px
|
||||
margin-bottom: 0.3rem
|
||||
color: #ff0000
|
||||
background-color: #ffffff
|
||||
font-weight: bold
|
||||
font-size: 11pt
|
||||
|
||||
.badge-text
|
||||
font-size: 0.9em
|
||||
|
||||
Reference in new issue
Block a user