From 33dc74fa2abe20d2397d869cb0f6e62268b2d5fa Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 16 May 2025 17:15:13 -0400 Subject: [PATCH] scroll queue item for long text --- src/components/sidebar/tabs/queue/ResultText.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/sidebar/tabs/queue/ResultText.vue b/src/components/sidebar/tabs/queue/ResultText.vue index c259150e6..cbf5c5a69 100644 --- a/src/components/sidebar/tabs/queue/ResultText.vue +++ b/src/components/sidebar/tabs/queue/ResultText.vue @@ -43,6 +43,20 @@ const { copyToClipboard } = useCopyToClipboard() .text-content { font-size: 0.875rem; color: var(--text-color); + width: 100%; + max-height: 100%; + max-width: 80vw; + overflow-y: auto; + line-height: 1.5; + padding-right: 0.5rem; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE and Edge */ +} + +/* Hide scrollbar but keep functionality */ +.text-content::-webkit-scrollbar { + width: 0; + background: transparent; } .copy-button {