Skip to content

Commit

Permalink
update login width and make button full width
Browse files Browse the repository at this point in the history
  • Loading branch information
sk337 committed Jan 23, 2024
1 parent fe067ae commit 11796f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,19 @@ export default function App() {
if (isLogin == false) {
return (
<main className="flex flex-col items-center justify-center">
<div className="flex flex-wrap items-center justify-center w-3/5 mt-10">
<div className="flex flex-wrap items-center justify-center w-2/5 mt-10">
<Alert id="error" className="bg-red-500 hidden">
<AlertTitle>Error</AlertTitle>
<hr className="text-white" />
<AlertDescription id="desc">
Invalid Username or Password
</AlertDescription>
</Alert>
<Card>
<Card className="w-full">
<CardHeader>
<CardTitle>Login With Swordbattle</CardTitle>
<CardTitle className=" text-center">
Login With Swordbattle
</CardTitle>
</CardHeader>
<CardContent>
<Input id="username" placeholder="Username"></Input>
Expand Down

0 comments on commit 11796f3

Please sign in to comment.