Studio: use px-2.5 for Hub option menu padding (#6249)
Swaps the arbitrary px-[10px] on the Hub option menu surface for the standard px-2.5 utility. Both resolve to 10px, so this is a no-op visually and just keeps to the standard spacing scale.
This commit is contained in:
parent
9df607c0de
commit
cd8e6c1e77
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ export function HubOptionMenu<T extends string>({
|
|||
collisionPadding={12}
|
||||
onCloseAutoFocus={(event) => event.preventDefault()}
|
||||
className={cn(
|
||||
"hub-menu-instant menu-soft-surface w-max min-w-[var(--radix-popover-trigger-width)] max-w-[min(var(--radix-popover-content-available-width),calc(100vw-1rem))] rounded-[22px] px-[10px] py-2 ring-0",
|
||||
"hub-menu-instant menu-soft-surface w-max min-w-[var(--radix-popover-trigger-width)] max-w-[min(var(--radix-popover-content-available-width),calc(100vw-1rem))] rounded-[22px] px-2.5 py-2 ring-0",
|
||||
contentClassName,
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue