Skip to content

Commit

Permalink
Decrease image height for single embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Jan 18, 2024
1 parent 3daba64 commit a4034ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dataDisplay/postEmbed/ImageEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function ImageEmbed(props: Props) {
alt={images[0].alt}
width={images[0].aspectRatio?.width ?? 900}
height={images[0].aspectRatio?.height ?? 900}
className="rounded-md object-cover cursor-pointer hover:brightness-90"
className="rounded-md max-h-96 object-cover cursor-pointer hover:brightness-90"
onClick={(e) => {
e.stopPropagation();
setShowImage(0);
Expand Down

0 comments on commit a4034ae

Please sign in to comment.