fix: restore sticky position of the navbar in the landing page; fixes #95

This commit is contained in:
Hossein Mehrabi
2023-07-07 15:10:01 +03:30
parent cb200cc7e3
commit 182c583720
@@ -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')