From 8a084a05c9796d67205cfd783cc33a4d6ecb74bd Mon Sep 17 00:00:00 2001 From: Ovindu Atukorala Date: Fri, 4 Oct 2024 19:40:54 +0000 Subject: [PATCH] Fix formatting of mobile retry button --- frontend/src/components/RetryIcon.tsx | 4 ++-- frontend/src/conversation/Conversation.tsx | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/RetryIcon.tsx b/frontend/src/components/RetryIcon.tsx index 27ed6028..19d76aec 100644 --- a/frontend/src/components/RetryIcon.tsx +++ b/frontend/src/components/RetryIcon.tsx @@ -4,8 +4,8 @@ const RetryIcon = (props: SVGProps) => ( (false); const { t } = useTranslation(); + const { isMobile } = useMediaQuery(); const handleUserInterruption = () => { if (!eventInterrupt && status === 'loading') setEventInterrupt(true); @@ -153,10 +154,12 @@ export default function Conversation() { }} > - Retry +

Retry

); responseView = (