app: fix portal positioning for sidebar menus and tooltips by removing conditional mount logic

This commit is contained in:
David Hill
2026-03-07 00:30:51 +00:00
parent b83282b940
commit 2b8acfa0e2
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1960,7 +1960,7 @@ export default function Layout(props: ParentProps) {
}}
aria-label={language.t("common.moreOptions")}
/>
<DropdownMenu.Portal mount={!panelProps.mobile ? state.nav : undefined}>
<DropdownMenu.Portal>
<DropdownMenu.Content class="mt-1">
<DropdownMenu.Item onSelect={() => showEditProjectDialog(p())}>
<DropdownMenu.ItemLabel>{language.t("common.edit")}</DropdownMenu.ItemLabel>