Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/emcn/src/components/tag-input/tag-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ import { Tooltip } from '../tooltip/tooltip'
*
* @remarks
* - `default` matches the standard Input component styling for consistent height.
* Like `ChipInput`, it shows no focus ring — the surface stays calm and the
* caret carries focus.
* - `block` matches the multi-row "Description" textarea pattern: larger radius,
* top-aligned items, taller min-height, and no focus ring — for use inside
* top-aligned items, and taller min-height — for use inside
* form sections where the tag input visually pairs with textarea fields.
* Uses `content-start` so wrapped flex lines pack tightly at `h-5` (20px) row
* pitch instead of being stretched by the `min-h-[112px]` floor; unused
Expand All @@ -64,7 +66,7 @@ const tagInputVariants = cva(
variants: {
variant: {
default:
'items-center rounded-sm py-1.5 focus-within:outline-none focus-within:ring-1 focus-within:ring-[var(--brand-accent)] dark:bg-[var(--surface-5)]',
'items-center rounded-sm py-1.5 focus-within:outline-none dark:bg-[var(--surface-5)]',
block:
'min-h-[112px] content-start items-start rounded-lg py-2 focus-within:outline-none dark:bg-[var(--surface-4)]',
},
Expand Down
Loading