Revert "fix: layer mobile widget details above header"

This reverts commit a540f07920.
This commit is contained in:
ajnart committed 2026-08-13 19:55:22 +02:00
1 parent b3e6d35b79
commit 0356eb427c
6 files changed
+2 -36

No files matched your search

+2 -3
View File
@@ -2,13 +2,12 @@
import type { PropsWithChildren } from "react";
import { createContext, useCallback, useContext, useEffect, useReducer, useRef, useState } from "react";
import { Modal } from "@mantine/core";
import { getDefaultZIndex, Modal } from "@mantine/core";
import { randomId } from "@mantine/hooks";
import type { stringOrTranslation } from "@homarr/translation";
import { translateIfNecessary } from "@homarr/translation";
import { useI18n } from "@homarr/translation/client";
import { managedModalZIndex } from "@homarr/ui";
import type { ConfirmModalProps } from "./confirm-modal";
import { ConfirmModal } from "./confirm-modal";
@@ -100,7 +99,7 @@ const ActiveModal = ({ modal, state, handleCloseModal }: ActiveModalProps) => {
return (
<Modal
key={modal.id}
zIndex={managedModalZIndex}
zIndex={getDefaultZIndex("modal") + 1}
style={{
userSelect: modal.id === state.current?.id ? undefined : "none",
}}