diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index 5cdd93fbe..933d01b10 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -53,6 +53,7 @@ @keyup.stop>{{ card.title }} + @@ -90,10 +91,11 @@ import labelStyle from '../../mixins/labelStyle.js' import AttachmentDragAndDrop from '../AttachmentDragAndDrop.vue' import CardMenu from './CardMenu.vue' import CardCover from './CardCover.vue' +import DueDate from './badges/DueDate.vue' export default { name: 'CardItem', - components: { CardBadges, AttachmentDragAndDrop, CardMenu, CardCover }, + components: { CardBadges, AttachmentDragAndDrop, CardMenu, CardCover, DueDate }, directives: { ClickOutside, }, @@ -140,7 +142,7 @@ export default { return board ? !board.archived && board.permissions.PERMISSION_EDIT : false }, inlineEditingBlocked() { - return this.compactMode || this.isArchived || this.showArchived || !this.canEdit || this.standalone + return this.isArchived || this.showArchived || !this.canEdit || this.standalone }, card() { return this.item ? this.item : this.$store.getters.cardById(this.id) @@ -350,6 +352,10 @@ export default { .duedate { margin-right: 0; + display: flex; + height: 32px; + width: 32px; + margin-top: 6px; } &.has-labels { padding-bottom: $card-padding; @@ -365,6 +371,9 @@ export default { font-size: 0; color: transparent; } + .card-menu { + align-self: start !important; + } } @media (prefers-color-scheme: dark) {