Skip to content

Commit 41e7178

Browse files
authored
Merge pull request #15237 from 0xPawanL/cosmetic/resize-img-action-card
cosmetic:Fixed mobile view for action card
2 parents e0f7cee + 9f30633 commit 41e7178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ActionCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const ActionCard = ({
4141
return (
4242
<LinkBox
4343
className={cn(
44-
"flex shadow-table hover:scale-[1.02] hover:rounded hover:bg-background-highlight hover:shadow-table-box-hover hover:duration-100 focus:scale-[1.02] focus:rounded focus:shadow-table-box-hover focus:duration-100",
44+
"flex flex-col md:flex-row shadow-table hover:scale-[1.02] hover:rounded hover:bg-background-highlight hover:shadow-table-box-hover hover:duration-100 focus:scale-[1.02] focus:rounded focus:shadow-table-box-hover focus:duration-100",
4545
className
4646
)}
4747
{...props}
@@ -57,7 +57,7 @@ const ActionCard = ({
5757
src={image}
5858
alt={alt || ""}
5959
width={imageWidth}
60-
className="max-h-full object-cover p-4"
60+
className="max-h-full object-cover p-4 self-center"
6161
/>
6262
</Flex>
6363
<div className="flex flex-col justify-center p-6">

0 commit comments

Comments
 (0)