We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb707b commit 35e7157Copy full SHA for 35e7157
frontend/src/components/Browser.tsx
@@ -24,7 +24,12 @@ function Browser(): JSX.Element {
24
</div>
25
<div className="overflow-y-auto grow scrollbar-hide rounded-xl">
26
{screenshotSrc ? (
27
- <img src={imgSrc} className="rounded-xl" alt="Browser Screenshot" />
+ <img
28
+ src={imgSrc}
29
+ style={{ objectFit: "contain", width: "100%", height: "auto" }}
30
+ className="rounded-xl"
31
+ alt="Browser Screenshot"
32
+ />
33
) : (
34
<div className="flex flex-col items-center h-full justify-center">
35
<IoIosGlobe size={100} />
0 commit comments