Skip to content

Commit

Permalink
fix: add width full to buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
thenicekat committed Mar 1, 2024
1 parent e41ee56 commit 5fd3177
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions frontend/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,20 @@ export default function Home() {
:
<>
<div className="flex flex-wrap gap-4 justify-center items-center">
<Button color="success" variant="bordered" radius="sm" size="lg"
<Button
className="w-full"
color="success" variant="bordered" radius="sm" size="lg"
onClick={
() => {
window.location.href = "/post/create";
}
}>
Create a Post
</Button>
</div>
<div className="flex flex-wrap gap-4 justify-center items-center">
<Button color="success" variant="bordered" radius="sm" size="lg"

<Button
className="w-full"
color="success" variant="bordered" radius="sm" size="lg"
onClick={
() => {
window.location.href = "/user/dashboard";
Expand Down

0 comments on commit 5fd3177

Please sign in to comment.