Skip to content

Commit daf1b80

Browse files
committed
docs(emcn): correct the chevron geometry left in two comments
ChipChevronDown's TSDoc still described centring a 10x6 glyph, and the enterprise sidebar's chip-parity comment still cited a 6x10 chevron. Both now read 14px, matching what the components actually render.
1 parent 445b185 commit daf1b80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/app/(landing)/enterprise/components/enterprise-platform-loop/enterprise-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const EnterpriseSidebar = memo(function EnterpriseSidebar({
110110
<div className='flex h-full w-[249px] flex-shrink-0 flex-col bg-[var(--surface-1)] pt-3'>
111111
{/* Workspace header, matching the real product's WorkspaceHeader chip
112112
(borderless `chipVariants()` geometry: h-[30px] rounded-lg px-2 with
113-
mx-0.5, 16px logo, text-sm name, 6x10 chevron) and therefore the
113+
mx-0.5, 16px logo, text-sm name, 14px chevron) and therefore the
114114
homepage's baked sidebar pixels - logo + name + chevron as a bare
115115
row, panel toggle right-aligned outside it. */}
116116
<div className='flex flex-shrink-0 items-center justify-between px-2'>

packages/emcn/src/components/chip/chip-chevron.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface ChipChevronDownProps {
88

99
/**
1010
* Canonical trailing chevron adornment for chip-style dropdown triggers — a
11-
* 16px hidden-from-AT slot centering the 10×6 {@link ChevronDown} glyph in
11+
* 16px hidden-from-AT slot centering the 14px {@link ChevronDown} glyph in
1212
* `--text-icon`, matching the chevron `ChipDropdown` owns internally. Use it
1313
* inside hand-built `chipVariants` triggers (breadcrumb dropdowns, header
1414
* "New column"-style buttons) instead of re-deriving the span + icon markup.

0 commit comments

Comments
 (0)