From 28ea6c6aa9c1c4b03355eea6c57b2dc8ec5b3ea8 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Thu, 1 May 2025 18:51:23 +0300 Subject: [PATCH] truncate oveflowing error text with option to display all on click --- ui/components/History.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ui/components/History.vue b/ui/components/History.vue index 6fc7a96e..ee74d7a5 100644 --- a/ui/components/History.vue +++ b/ui/components/History.vue @@ -110,10 +110,10 @@
{{ item.title }}
-
+
{{ item.error }}
-
+
{{ item.msg }}
@@ -242,10 +242,14 @@
- {{ item.error }} +
+ {{ item.error }} +
- {{ item.msg }} +
+ {{ item.msg }} +
@@ -686,4 +690,6 @@ const downloadSelected = () => { body.removeChild(link); } } + +const toggle_class = e => e.currentTarget.classList.toggle('is-text-overflow')