Skip to content

Commit

Permalink
chore: update SVG height to 100% and add max width for better respons…
Browse files Browse the repository at this point in the history
…iveness
  • Loading branch information
zouhangwithsweet committed Aug 26, 2024
1 parent 503f8ab commit 243ba06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoints/injected/components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const Download = memo((props: { minimized?: boolean }) => {
}}
>
{svgString ? (
<SVG src={svgString} height="100%" className="min-w-20 p-5 max-h-210px" />
<SVG src={svgString} height="100%" className="min-w-20 p-5 max-h-210px max-w-60" />
) : (
<img src={imageBase64} alt="" className="w-full max-w-60 max-h-210px h-auto object-contain" />
)}
Expand Down

0 comments on commit 243ba06

Please sign in to comment.