From d44830d5e74a7059db0779dfa9d7662a6837ddd7 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Wed, 18 Sep 2024 22:39:20 +0200 Subject: [PATCH] fix: Inline links in card title Signed-off-by: Julius Knorr --- src/components/cards/CardItem.vue | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index 4e498e8c0..4ad86443c 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -20,7 +20,7 @@

- {{ card.title }} + {{ card.title }}

$2$5', + ) + }, + }, }, mixins: [Color, labelStyle], props: { @@ -207,7 +215,10 @@ export default { card = this.$refs[`card${card}`] card.focus() }, - openCard() { + openCard(event) { + if (event.target.tagName.toLowerCase() === 'a') { + return + } if (this.dragging || this.hasSelection()) { return } @@ -351,6 +362,11 @@ export default { word-wrap: break-word; padding-left: 4px; align-self: center; + + :deep(a) { + text-decoration: underline; + } + &.editable { span { cursor: text;