Skip to content

Commit

Permalink
feat: support textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
swwind committed Mar 20, 2023
1 parent cf3a440 commit 235e1ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/alnus/src/components/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
}

&:not(select[multiple]) {
&:not(select[multiple]):not(textarea) {
@apply h-10;
}

Expand Down
4 changes: 4 additions & 0 deletions packages/docs/src/routes/docs/components/input/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,9 @@ import Preview from "~/components/preview/preview";
<code>[a-zA-Z]\w+</code>
</span>
</label>
<label class="flex w-full flex-col gap-1.5">
<span class="text-sm">Textarea</span>
<textarea class="input" cols="10"></textarea>
</label>
</div>
</Preview>

0 comments on commit 235e1ff

Please sign in to comment.