mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-23 19:52:09 +08:00
fix: setting panel z-index
This commit is contained in:
@@ -73,12 +73,12 @@ export const SettingsButton: React.FC = () => {
|
|||||||
<>
|
<>
|
||||||
{/* 背景遮罩 */}
|
{/* 背景遮罩 */}
|
||||||
<div
|
<div
|
||||||
className='fixed inset-0 bg-black/50 backdrop-blur-sm z-40'
|
className='fixed inset-0 bg-black/50 backdrop-blur-sm z-[1000]'
|
||||||
onClick={handleClosePanel}
|
onClick={handleClosePanel}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 设置面板 */}
|
{/* 设置面板 */}
|
||||||
<div className='fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md bg-white dark:bg-gray-900 rounded-xl shadow-xl z-50 p-6'>
|
<div className='fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md bg-white dark:bg-gray-900 rounded-xl shadow-xl z-[1001] p-6'>
|
||||||
{/* 标题栏 */}
|
{/* 标题栏 */}
|
||||||
<div className='flex items-center justify-between mb-6'>
|
<div className='flex items-center justify-between mb-6'>
|
||||||
<h3 className='text-xl font-bold text-gray-800 dark:text-gray-200'>
|
<h3 className='text-xl font-bold text-gray-800 dark:text-gray-200'>
|
||||||
|
|||||||
Reference in New Issue
Block a user