Skip to content

Commit

Permalink
Correct layout for input with label
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano-Labianca committed Sep 2, 2023
1 parent 2878ad6 commit 6d976c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Label } from "@/registry/default/ui/label";
</script>

<div class="grid w-full max-w-sm items-center gap-1.5">
<div class="flex flex-col w-full max-w-sm gap-1.5">
<Label for="email">Email</Label>
<Input type="email" id="email" placeholder="email" />
</div>

0 comments on commit 6d976c5

Please sign in to comment.