Merge pull request #534 from escapade-mckv/browser-state-fix

chore(dev): browser state fix
This commit is contained in:
Bobbie 2025-05-27 17:00:02 +05:30 committed by GitHub
commit 92e8b1c095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ export function BrowserToolView({
{imageLoading && (
<ImageLoader />
)}
<Card className={`p-0 overflow-hidden shadow-lg border ${imageLoading ? 'hidden' : 'block'}`}>
<Card className={`p-0 overflow-hidden border ${imageLoading ? 'hidden' : 'block'}`}>
<img
src={screenshotUrl}
alt="Browser Screenshot"
@ -214,7 +214,7 @@ export function BrowserToolView({
{imageLoading && (
<ImageLoader />
)}
<Card className={`overflow-hidden shadow-lg border ${imageLoading ? 'hidden' : 'block'}`}>
<Card className={`overflow-hidden border ${imageLoading ? 'hidden' : 'block'}`}>
<img
src={`data:image/jpeg;base64,${screenshotBase64}`}
alt="Browser Screenshot"