mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-06-03 19:29:40 +08:00
Update index.tsx
层级不够高,会被底部动物的渐变遮挡
This commit is contained in:
@@ -21,7 +21,7 @@ export default () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="overflow-hidden fixed top-[70%] right-[3%] z-20 flex flex-col w-12 bg-white dark:bg-black-b border dark:border-[#4e5969] rounded-md divide-y dark:divide-[#4e5969] transition-colors">
|
||||
<div className="z-[999] overflow-hidden fixed top-[70%] right-[3%] z-20 flex flex-col w-12 bg-white dark:bg-black-b border dark:border-[#4e5969] rounded-md divide-y dark:divide-[#4e5969] transition-colors">
|
||||
{isDark
|
||||
? <Image src={sun.src} alt="太阳" width={46} height={46} className={itemSty} onClick={() => setIsDark(false)} />
|
||||
: <Image src={moon.src} alt="月亮" width={46} height={46} className={itemSty} onClick={() => setIsDark(true)} />
|
||||
@@ -35,4 +35,4 @@ export default () => {
|
||||
<Search disclosure={{ isOpen, onClose, onOpenChange }} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user