[Dropdown] Margin between dropdown content menus #1611
Answered
by
andy-hook
skarensmoll
asked this question in
Help
-
Hi there ! I was wondering if there's a prop to change the margin between dropdown content and submenus: Currently we have for example sideOffset, to customize distance in px from the trigger but seems for distance between menus/submenus is not possible (?) |
Beta Was this translation helpful? Give feedback.
Answered by
andy-hook
Aug 11, 2022
Replies: 1 comment 4 replies
-
Hey @skarensmoll the https://www.radix-ui.com/docs/primitives/components/dropdown-menu#subcontent https://codesandbox.io/s/friendly-goldstine-b0h2pg?file=/App.js Is that what you meant? |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
skarensmoll
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @skarensmoll the
SubContent
part also accepts thesideOffset
prop which behaves the same way.https://www.radix-ui.com/docs/primitives/components/dropdown-menu#subcontent
https://codesandbox.io/s/friendly-goldstine-b0h2pg?file=/App.js
Is that what you meant?