Skip to content

Commit

Permalink
adjust pos on card component
Browse files Browse the repository at this point in the history
  • Loading branch information
reigj1 committed Sep 26, 2024
1 parent 67f466c commit 008227a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Common/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,12 @@ export const ShowcaseCard: React.FC<{
className="bg-white/90 border overflow-hidden border-white border-solid rounded-xl px-6 py-8 text-black "
variants={transitions.item}
>
<img src={imgSrc} loading="lazy" alt="" className="w-20 h-20"></img>
<img
src={imgSrc}
loading="lazy"
alt=""
className="w-20 h-20 ml-0 mr-auto"
></img>
<h3 className="text-gradient tw-heading-5 mb-2 mt-8 colo">{title}</h3>
<h4 className="tw-heading-6 ">{subtitle}</h4>
<p className="tw-lead-sm mb-0 text-black/60">{description}</p>
Expand Down
1 change: 1 addition & 0 deletions src/pages/ai.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ let result = model.run(
className=" w-[120%] sm:w-7/10 md:w-[85%]
absolute
bottom-0
translate-y-[110%] translate-x-[-10%] md:translate-y-[45%] md:translate-x-[55%]
sm:translate-y-[80%] sm:translate-x-[20%]
select-none
Expand Down

0 comments on commit 008227a

Please sign in to comment.