mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 15:09:43 +00:00
Bugfix:
夜间模式按钮初始化主题,按钮样式微调
This commit is contained in:
@@ -81,7 +81,10 @@ const BaseLayout = ({
|
||||
{children}
|
||||
</div>
|
||||
<JumpToTopButton targetRef={targetRef} showPercent={true} />
|
||||
<div className='hidden lg:block fixed right-4 top-4 p-1 bg-gray-700 dark:border-gray-500 dark:bg-gray-700 rounded-full text-white' style={{ boxShadow: 'rgba(41, 50, 60, 0.5) 0px 2px 16px', borderRadius: '28px' }}>
|
||||
<div className='hidden lg:block fixed right-4 top-4 p-1 rounded-full
|
||||
bg-white text-black
|
||||
dark:border-gray-500 dark:bg-gray-700 dark:text-white
|
||||
' style={{ boxShadow: 'rgba(41, 50, 60, 0.5) 0px 2px 16px', borderRadius: '28px' }}>
|
||||
<DarkModeButton/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user