mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
fix: restore sticky position of the navbar in the landing page; fixes #95
This commit is contained in:
@@ -48,7 +48,7 @@ export const HeroVideo: React.FC<HeroVideoProps> = ({
|
||||
const onLoadedMetadata = () => play()
|
||||
|
||||
useEffect(() => {
|
||||
const root = document.querySelector<HTMLDivElement>('#__docusaurus')
|
||||
const root = document.querySelector<HTMLDivElement>('.col > article')
|
||||
if (!root) return
|
||||
|
||||
root.classList.add('overflow-hidden')
|
||||
|
||||
Reference in New Issue
Block a user