Skip to content

Commit c6f113b

Browse files
chanceaclarkclaude
andcommitted
CATALYST-1570: fix(ui) - Reduce dropdown menu border width to match select
The dropdown menu used `ring` (3px default) while the Select component used `ring-1` (1px). This caused a visually thick border on dropdown menus, most noticeably on the wishlist page. Fixes CATALYST-1570 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 14aad11 commit c6f113b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@bigcommerce/catalyst-core': patch
3+
---
4+
5+
Fix extra thick border on dropdown menu by changing `ring` (3px) to `ring-1` (1px) to match the Select component styling.

core/vibes/soul/primitives/dropdown-menu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const DropdownMenu = ({
6262
<DropdownMenuPrimitive.Content
6363
align={align}
6464
className={clsx(
65-
'z-50 max-h-80 max-w-lg overflow-y-auto rounded-2xl bg-[var(--dropdown-menu-background,hsl(var(--background)))] p-2 shadow-xl ring ring-contrast-100 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 @4xl:w-32 @4xl:rounded-2xl @4xl:p-2',
65+
'z-50 max-h-80 max-w-lg overflow-y-auto rounded-2xl bg-[var(--dropdown-menu-background,hsl(var(--background)))] p-2 shadow-xl ring-1 ring-contrast-100 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 @4xl:w-32 @4xl:rounded-2xl @4xl:p-2',
6666
className,
6767
)}
6868
sideOffset={slideOffset}

0 commit comments

Comments
 (0)