From ffc635ef26b310d76a9420ab6734491949a4236a Mon Sep 17 00:00:00 2001 From: ShareVB Date: Mon, 11 Mar 2024 22:14:24 +0100 Subject: [PATCH] fix: better ui, word wrap --- src/components/TextareaCopyable.vue | 3 ++- src/tools/gzip-converter/gzip-converter.vue | 8 ++++++++ 2 files changed, 10 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` : ''" > - +
diff --git a/src/tools/gzip-converter/gzip-converter.vue b/src/tools/gzip-converter/gzip-converter.vue index 43f99923..efc24d7a 100644 --- a/src/tools/gzip-converter/gzip-converter.vue +++ b/src/tools/gzip-converter/gzip-converter.vue @@ -33,6 +33,8 @@ const compressedZlibOutput = computed(() => withDefaultOnError(() => Base64.from

GZIP compressed string

@@ -42,6 +44,8 @@ const compressedZlibOutput = computed(() => withDefaultOnError(() => Base64.from

Zlib compressed string

@@ -51,6 +55,8 @@ const compressedZlibOutput = computed(() => withDefaultOnError(() => Base64.from

Deflate compressed string

@@ -71,6 +77,8 @@ const compressedZlibOutput = computed(() => withDefaultOnError(() => Base64.from

Decompressed string