fix(整合): 再次提升更新日志模态框层级至最高优先级
- 将背景遮罩 z-index 从 z-[100] 提升到 z-[9999] - 将模态框内容 z-index 从 z-[101] 提升到 z-[10000] - 确保模态框在所有可能的元素之上显示,包括 Header 搜索下拉等 via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run>
This commit is contained in:
@@ -57,7 +57,7 @@ export function ChangelogModal({ isOpen, onClose }: ChangelogModalProps) {
|
||||
animate={{ opacity: 1 }}
|
||||
exit={{ opacity: 0 }}
|
||||
onClick={onClose}
|
||||
className="fixed inset-0 bg-black/50 z-[100]"
|
||||
className="fixed inset-0 bg-black/50 z-[9999]"
|
||||
/>
|
||||
|
||||
{/* 模态框 */}
|
||||
@@ -65,7 +65,7 @@ export function ChangelogModal({ isOpen, onClose }: ChangelogModalProps) {
|
||||
initial={{ opacity: 0, scale: 0.95, y: 20 }}
|
||||
animate={{ opacity: 1, scale: 1, y: 0 }}
|
||||
exit={{ opacity: 0, scale: 0.95, y: 20 }}
|
||||
className="fixed inset-4 md:inset-8 lg:inset-16 z-[101] flex items-center justify-center"
|
||||
className="fixed inset-4 md:inset-8 lg:inset-16 z-[10000] flex items-center justify-center"
|
||||
>
|
||||
<div className="bg-white dark:bg-gray-800 rounded-2xl shadow-2xl w-full h-full flex flex-col overflow-hidden">
|
||||
{/* 头部 */}
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
{
|
||||
"changelogEntries": [
|
||||
{
|
||||
"id": "2026-03-08-fix-modal-zindex-again",
|
||||
"date": "2026-03-08",
|
||||
"type": "fix",
|
||||
"title": "再次提升更新日志模态框层级至最高优先级",
|
||||
"scope": "整合"
|
||||
},
|
||||
{
|
||||
"id": "2026-03-08-fix-modal-zindex",
|
||||
"date": "2026-03-08",
|
||||
|
||||
Reference in New Issue
Block a user