-
-
{{ dueTime }}
+
{{ checkListCheckedCount }}/{{ checkListCount }}
+
+
@@ -99,7 +100,7 @@ export default {
this.dueIcon = 'icon-calendar-dark due icon now'
}
if (timeInHours < 0) {
- this.dueIcon = 'icon-calendar-dark due icon overdue'
+ this.dueIcon = 'icon-calendar due icon overdue'
}
}
}
@@ -110,6 +111,10 @@ export default {
.badges {
display: flex;
flex-grow: 1;
+
+ & > div {
+ margin-right: 10px;
+ }
.icon {
opacity: 0.5;
padding: 12px 3px;
@@ -117,6 +122,9 @@ export default {
span {
margin-left: 18px;
}
+ &.icon-filetype-text {
+ opacity: 1;
+ }
}
.card-assigned-users {
flex-grow: 1;
@@ -131,8 +139,8 @@ export default {
.badges .icon.due {
background-position: 4px center;
border-radius: 3px;
- margin: 10px 0;
- margin-right: 3px;
+ margin-top: 10px;
+ margin-bottom: 10px;
padding: 4px;
font-size: 90%;
display: flex;
diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue
index f9dcad94f..653d8d967 100644
--- a/src/components/cards/CardItem.vue
+++ b/src/components/cards/CardItem.vue
@@ -179,16 +179,17 @@ export default {
}
.labels {
- display: flex;
margin-left: $card-padding;
margin-top: -5px;
- margin-bottom: -5px;
+ overflow: hidden;
li {
- padding: 1px 4px;
+ float: left;
+ padding: 1px 3px;
border-radius: 3px;
- font-size: 90%;
- margin-right: 2px;
+ font-size: 85%;
+ margin-right: 3px;
+ margin-bottom: 3px;
}
}