diff --git a/.claude/skills/ui-conventions/SKILL.md b/.claude/skills/ui-conventions/SKILL.md index 7dcecc1..ab21ffa 100644 --- a/.claude/skills/ui-conventions/SKILL.md +++ b/.claude/skills/ui-conventions/SKILL.md @@ -48,7 +48,7 @@ Active project reference docs (read the relevant one before changing that area): - Application tables must use `src/components/ui/data-table.tsx` `DataTable`. - Actions columns stay fixed at `w-[110px] min-w-[110px] max-w-[110px] h-[45px] text-center whitespace-nowrap` to prevent localized headers like `"İŞLEMLER"` from changing their size. - Table-page headers fold into the `DataTable` title/description/actions area; do not render a separate `PageHeader` above table-primary pages. -- Search inputs, dropdown filters, filter buttons, and toolbar actions share the same height/radius (`h-9 rounded-lg` unless the shared component changes the standard globally). +- Search inputs, dropdown filters, filter buttons, and column controls share the same compact height/radius (`h-8 rounded-lg`, `text-[13px]`) unless the shared component changes the standard globally. Page-header primary actions may stay `h-9`. - Pages/domain components must not import or render `Table` primitives directly; only the `DataTable` wrapper and table primitive files may. ## Date/time & attendance diff --git a/.codex/skills/ui-conventions/SKILL.md b/.codex/skills/ui-conventions/SKILL.md index 7dcecc1..ab21ffa 100644 --- a/.codex/skills/ui-conventions/SKILL.md +++ b/.codex/skills/ui-conventions/SKILL.md @@ -48,7 +48,7 @@ Active project reference docs (read the relevant one before changing that area): - Application tables must use `src/components/ui/data-table.tsx` `DataTable`. - Actions columns stay fixed at `w-[110px] min-w-[110px] max-w-[110px] h-[45px] text-center whitespace-nowrap` to prevent localized headers like `"İŞLEMLER"` from changing their size. - Table-page headers fold into the `DataTable` title/description/actions area; do not render a separate `PageHeader` above table-primary pages. -- Search inputs, dropdown filters, filter buttons, and toolbar actions share the same height/radius (`h-9 rounded-lg` unless the shared component changes the standard globally). +- Search inputs, dropdown filters, filter buttons, and column controls share the same compact height/radius (`h-8 rounded-lg`, `text-[13px]`) unless the shared component changes the standard globally. Page-header primary actions may stay `h-9`. - Pages/domain components must not import or render `Table` primitives directly; only the `DataTable` wrapper and table primitive files may. ## Date/time & attendance diff --git a/docs/ui/ui-redesign-tokens.md b/docs/ui/ui-redesign-tokens.md index 7968220..ed4cccd 100644 --- a/docs/ui/ui-redesign-tokens.md +++ b/docs/ui/ui-redesign-tokens.md @@ -69,7 +69,7 @@ display-font, translucent surface, or custom shadow rules. right, and inherits the exact opaque row surface - Data columns fill the available table width at a consistent proportional width. Column resizing is not offered (no resize handles, no width persistence) -- Search and column controls: `h-9 rounded-lg` (not pill) +- Search / filter / column controls: compact `h-8 rounded-lg` + `text-[13px]` (not pill) - Pagination includes range, optional page-size selector, previous/next, and page count - `storageKey` remains optional. When provided, only column visibility persists diff --git a/src/components/ui/data-table-search.tsx b/src/components/ui/data-table-search.tsx index 392cfed..7acb875 100644 --- a/src/components/ui/data-table-search.tsx +++ b/src/components/ui/data-table-search.tsx @@ -19,7 +19,7 @@ export function DataTableSearch(props: DataTableSearchProps) { value={props.value} onInput={(event) => props.onChange(event.currentTarget.value)} placeholder={props.placeholder ?? "Ara"} - class={cn("h-9 rounded-lg bg-muted/40", props.value ? "pl-9 pr-8" : "pl-9")} + class={cn("h-8 rounded-lg bg-muted/40 text-[13px] md:text-[13px]", props.value ? "pl-9 pr-8" : "pl-9")} />