From 43922ae5f9105ff56ea31556bde07c653bcc8c30 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 8b0aae61..1bf3b5ff 100644 --- a/src/components/TextareaCopyable.vue +++ b/src/components/TextareaCopyable.vue @@ -16,6 +16,7 @@ const props = withDefaults( language?: string copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none' copyMessage?: string + wordWrap?: boolean }>(), { followHeightOf: null, @@ -47,7 +48,7 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage. :style="height ? `min-height: ${height - 40 /* card padding */ + 10 /* negative margin compensation */}px` : ''" > - +