Skip to content

Commit 1bf4f41

Browse files
committed
feat(core): update combobox and menu item
1 parent 0ec57d8 commit 1bf4f41

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/paste-core/components/combobox/src/styles/ComboboxListboxOption.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ const ComboboxListboxOption = React.forwardRef<HTMLLIElement, ComboboxListboxOpt
121121
display="flex"
122122
justifyContent="space-between"
123123
alignItems="center"
124-
margin="space10"
124+
marginY="space10"
125+
marginX="space20"
125126
borderRadius="borderRadius30"
126127
backgroundColor={getBackgroundColor(highlighted, selected)}
127128
paddingY="space40"

packages/paste-core/components/menu/src/MenuItem.styles.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export const StyledMenuItem = React.forwardRef<HTMLDivElement | HTMLAnchorElemen
9393
outline="none"
9494
paddingY="space30"
9595
borderRadius="borderRadius30"
96-
margin="space10"
96+
marginY="space10"
97+
marginX="space20"
9798
cursor="pointer"
9899
paddingX="space70"
99100
width="fill-available"

0 commit comments

Comments
 (0)