From 981021d7fcea7c7a717da207b583a20980c2779a Mon Sep 17 00:00:00 2001 From: alsaze Date: Thu, 20 Nov 2025 14:20:42 +0300 Subject: [PATCH] init --- components/ShortText.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/components/ShortText.vue b/components/ShortText.vue index 40446d9..e4bbcc9 100644 --- a/components/ShortText.vue +++ b/components/ShortText.vue @@ -8,7 +8,7 @@ :disabled="!tooltipEnabled" :ui="{ text: 'whitespace-normal break-words', content: 'max-w-50 h-auto' }" > - {{ text }} + {{ truncate(text, 20) }} - {{ text }} + {{ truncate(text, 20) }}