mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 07:26:46 +00:00
微调
This commit is contained in:
@@ -11,7 +11,6 @@ const Container = ({ children, layout, fullWidth, tags, meta, ...customMeta }) =
|
||||
const scrollS = window.scrollY
|
||||
const nav = document.querySelector('#sticky-nav')
|
||||
const tagsBar = document.querySelector('#tags-bar')
|
||||
console.log(windowTop, scrollS)
|
||||
if (scrollS >= windowTop) {
|
||||
nav && nav.classList.add('-mt-16')
|
||||
tagsBar && tagsBar.classList.add('-mt-32')
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import BLOG from '@/blog.config'
|
||||
import React from 'react'
|
||||
|
||||
const Footer = ({ fullWidth = true }) => {
|
||||
|
||||
@@ -25,7 +25,6 @@ const LeftFloatButton = () => {
|
||||
}
|
||||
}, 500)
|
||||
const [collapse, changeCollapse] = useState(true)
|
||||
console.log(collapse)
|
||||
return <div
|
||||
className={(collapse ? 'left-0' : 'left-72') + ' z-30 fixed flex flex-nowrap md:flex-col top-0 pl-4 py-1 duration-500 ease-in-out'}>
|
||||
{/* 菜单折叠 */}
|
||||
|
||||
Reference in New Issue
Block a user