From 49f4c881eafda3e9f84d0fb81a0f940eaea26b90 Mon Sep 17 00:00:00 2001 From: sharevb Date: Sun, 16 Jun 2024 12:30:03 +0200 Subject: [PATCH] feat(TextAreaCopyable): word wrap --- src/components/TextareaCopyable.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/TextareaCopyable.vue b/src/components/TextareaCopyable.vue index f54b6c08..9485ad3f 100644 --- a/src/components/TextareaCopyable.vue +++ b/src/components/TextareaCopyable.vue @@ -22,6 +22,7 @@ const props = withDefaults( language?: string copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none' copyMessage?: string + wordWrap?: boolean }>(), { followHeightOf: null, @@ -59,7 +60,7 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage. :style="height ? `min-height: ${height - 40 /* card padding */ + 10 /* negative margin compensation */}px` : ''" > - +