Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Nov 23, 2024
2 parents 077723b + 0bd50ee commit 9b073d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/dataDisplay/postEmbed/ImageEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function ImageEmbed(props: Props) {
width={500}
height={250}
priority
className="rounded-md h-full max-h-62 object-cover cursor-pointer hover:brightness-90"
className="rounded-md h-full max-h-62 object-cover cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(i);
Expand All @@ -57,7 +57,7 @@ export default function ImageEmbed(props: Props) {
width={images[0].aspectRatio?.width ?? 450}
height={images[0].aspectRatio?.height ?? 450}
priority
className="rounded-md object-cover h-full cursor-pointer hover:brightness-90"
className="rounded-md object-cover h-full cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(0);
Expand All @@ -75,7 +75,7 @@ export default function ImageEmbed(props: Props) {
width={images[1].aspectRatio?.width ?? 450}
height={images[1].aspectRatio?.height ?? 450}
priority
className="rounded-md object-cover w-full h-full cursor-pointer hover:brightness-90"
className="rounded-md object-cover w-full h-full cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(1);
Expand All @@ -91,7 +91,7 @@ export default function ImageEmbed(props: Props) {
width={images[2].aspectRatio?.width ?? 450}
height={images[2].aspectRatio?.height ?? 450}
priority
className="rounded-md object-cover w-full h-full cursor-pointer hover:brightness-90"
className="rounded-md object-cover w-full h-full cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(2);
Expand All @@ -114,7 +114,7 @@ export default function ImageEmbed(props: Props) {
width={images[i].aspectRatio?.width ?? 450}
height={images[i].aspectRatio?.height ?? 450}
priority
className="object-cover aspect-square rounded-md h-full max-h-64 cursor-pointer hover:brightness-90"
className="object-cover aspect-square rounded-md h-full max-h-64 cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(i);
Expand All @@ -137,7 +137,7 @@ export default function ImageEmbed(props: Props) {
width={images[0].aspectRatio?.width ?? 900}
height={images[0].aspectRatio?.height ?? 900}
priority
className="rounded-md max-h-96 w-full object-cover cursor-pointer hover:brightness-90"
className="rounded-md max-h-96 w-full object-cover cursor-pointer hover:brightness-90 border border-skin-base"
onClick={(e) => {
e.stopPropagation();
setShowImage(0);
Expand Down

0 comments on commit 9b073d8

Please sign in to comment.