Skip to content

Commit

Permalink
CSS update to show full image and correct aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgallant committed Aug 31, 2023
1 parent 59dc8e1 commit 60abf3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ const ActiveItemPreview = ({
{isImage(thumbnail) ? (
<div className="w-full max-h-[75%]">
<img
className="block border border-gray-100 rounded-md overflow-hidden max-w-full max-h-full object-fit h-auto shadow"
className="block border border-gray-100 rounded-md overflow-hidden object-center object-contain w-full h-full shadow"
src={thumbnail}
alt={activeItem.filename}
/>
Expand Down

0 comments on commit 60abf3c

Please sign in to comment.