fix(mobile): cover not working properly in modals

This commit is contained in:
Elian Doran
2026-01-31 20:04:00 +02:00
parent 3cb74bb844
commit 20eaa79079
2 changed files with 5 additions and 2 deletions

View File

@@ -1255,7 +1255,7 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
inset-inline-start: 0;
inset-inline-end: 0;
bottom: 0;
z-index: 1000;
z-index: 2500;
background: rgba(0, 0, 0, 0.1);
}

View File

@@ -65,7 +65,10 @@ function TabBarModal({ mainNoteContexts, shown, setShown }: {
x: e.pageX,
y: e.pageY,
items: [
{ title: t("tab_row.close_all_tabs"), command: "closeAllTabs", uiIcon: "bx bx-empty" },
{ title: t("tab_row.new_tab"), command: "openNewTab", uiIcon: "bx bx-plus" },
{ title: t("tab_row.reopen_last_tab"), command: "reopenLastTab", uiIcon: "bx bx-undo", enabled: appContext.tabManager.recentlyClosedTabs.length !== 0 },
{ kind: "separator" },
{ title: t("tab_row.close_all_tabs"), command: "closeAllTabs", uiIcon: "bx bx-trash destructive-action-icon" },
],
selectMenuItemHandler: ({ command }) => {
if (command) {