From 235e1ff3e06fddb368cb5d36265feeb1f3b14257 Mon Sep 17 00:00:00 2001 From: swwind Date: Mon, 20 Mar 2023 11:06:06 +0800 Subject: [PATCH] feat: support textarea --- packages/alnus/src/components/input.css | 2 +- packages/docs/src/routes/docs/components/input/index.mdx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/alnus/src/components/input.css b/packages/alnus/src/components/input.css index 2f66845..eed2e78 100644 --- a/packages/alnus/src/components/input.css +++ b/packages/alnus/src/components/input.css @@ -9,7 +9,7 @@ } } - &:not(select[multiple]) { + &:not(select[multiple]):not(textarea) { @apply h-10; } diff --git a/packages/docs/src/routes/docs/components/input/index.mdx b/packages/docs/src/routes/docs/components/input/index.mdx index 8daace7..8d85417 100644 --- a/packages/docs/src/routes/docs/components/input/index.mdx +++ b/packages/docs/src/routes/docs/components/input/index.mdx @@ -77,5 +77,9 @@ import Preview from "~/components/preview/preview"; [a-zA-Z]\w+ +