Bunch of radix related fixes.

This commit is contained in:
barnabasmolnar 2023-04-18 16:39:23 +02:00
parent 7d791b86f8
commit c88f3c84eb
6 changed files with 32 additions and 16 deletions

View file

@ -50,6 +50,8 @@ const MainMenu = Object.assign(
{HamburgerMenuIcon}
</DropdownMenu.Trigger>
<DropdownMenu.Content
sideOffset={device.isMobile ? 20 : undefined}
className="mainmenu-content"
onClickOutside={onClickOutside}
onSelect={composeEventHandlers(onSelect, () => {
setAppState({ openMenu: null });