From f3eb2dbacd798188bb564f79e9f2f510f913ee73 Mon Sep 17 00:00:00 2001 From: ayangweb <75017711+ayangweb@users.noreply.github.com> Date: Tue, 25 Feb 2025 11:49:41 +0800 Subject: [PATCH] fix: white space at the bottom of chat (#192) --- src/components/Common/Transition.tsx | 4 ++-- src/components/Search/Search.tsx | 5 ++++- src/pages/main/index.tsx | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/Common/Transition.tsx b/src/components/Common/Transition.tsx index a85cd6cf..9781901e 100644 --- a/src/components/Common/Transition.tsx +++ b/src/components/Common/Transition.tsx @@ -30,7 +30,7 @@ const TransitionComponent = () => { data-tauri-drag-region className={`shadow-window-custom border border-[#E6E6E6] dark:border-[#272626] absolute w-full bg-green-500 transition-opacity duration-500 ${ isTransitioned ? "opacity-0 pointer-events-none" : "opacity-100" - } bottom-0 h-[500px]`} + } bottom-0 h-[calc(100vh-90px)]`} >