From 463dcc66b15f9de54a0509b9f1e6e4944eeafc38 Mon Sep 17 00:00:00 2001 From: Bo26fhmC5M <88071760+Bo26fhmC5M@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:26:51 +0900 Subject: [PATCH] fix: improve HypaV3 modal responsive for mobile --- src/lib/Others/HypaV3Modal.svelte | 389 ++++++++++++++++-------------- 1 file changed, 205 insertions(+), 184 deletions(-) diff --git a/src/lib/Others/HypaV3Modal.svelte b/src/lib/Others/HypaV3Modal.svelte index efbfdd9b..389a1180 100644 --- a/src/lib/Others/HypaV3Modal.svelte +++ b/src/lib/Others/HypaV3Modal.svelte @@ -32,12 +32,12 @@ interface SummaryUI { isTranslating: boolean; translation: string | null; - translationRef: HTMLDivElement; + translationRef: HTMLTextAreaElement; isRerolling: boolean; rerolledText: string | null; isRerolledTranslating: boolean; rerolledTranslation: string | null; - rerolledTranslationRef: HTMLDivElement; + rerolledTranslationRef: HTMLTextAreaElement; } interface ExpandedMessageUI { @@ -45,7 +45,7 @@ selectedChatMemo: string; isTranslating: boolean; translation: string | null; - translationRef: HTMLDivElement; + translationRef: HTMLTextAreaElement; } const hypaV3DataState = $derived( @@ -531,21 +531,23 @@ -