Skip to content

Commit

Permalink
fix: CreatePost.tsx not mobile responsive buttons
Browse files Browse the repository at this point in the history
I am not able to find more errors in mobile devices from my laptop
PauMatas committed Apr 10, 2024
1 parent 6e68051 commit 1301e73
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/components/CreatePost.tsx
Original file line number Diff line number Diff line change
@@ -26,25 +26,27 @@ const CreatePost: FC<CreatePostProps> = ({ session }) => {
/>
</div>

<Link
href={pathname + "/submit"}
className={buttonVariants({
variant: "outline",
className: "w-full",
})}
>
Penja Apunts
</Link>
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 w-full">
<Link
href={pathname + "/submit"}
className={buttonVariants({
variant: "outline",
className: "w-full",
})}
>
Penja Apunts
</Link>

<Link
href={pathname + "/q"}
className={buttonVariants({
variant: "outline",
className: "w-full",
})}
>
Llança una pregunta
</Link>
<Link
href={pathname + "/q"}
className={buttonVariants({
variant: "outline",
className: "w-full",
})}
>
Llança una pregunta
</Link>
</div>
</div>
</div>
)

0 comments on commit 1301e73

Please sign in to comment.