fix(retry btn): overlflow in mobile

This commit is contained in:
ManishMadan2882
2024-09-20 02:25:00 +05:30
parent db34392210
commit 63a15a3359
2 changed files with 2 additions and 2 deletions

View File

@@ -218,7 +218,7 @@ const ConversationBubble = forwardRef<
{type === 'ERROR' && (
<>
<img src={Alert} alt="alert" className="mr-2 inline" />
<div className="absolute -right-32 top-1/2 -translate-y-1/2">
<div className="absolute right-0 lg:-right-32 top-1/2 translate-y-full lg:-translate-y-1/2">
{retryBtn}
</div>
</>

View File

@@ -8,7 +8,7 @@
@supports (height: 100dvh) {
:root {
--viewport-height: 100dvh; /* Use dvh where supported */
--viewport-height: 100dvh; /* Use dvh where supported */
}
}