Changes Scroll

This commit is contained in:
Belen Curcio 2020-10-22 12:59:47 -03:00
parent 7d4b11d204
commit 7e73f00860
3 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const Footer: FC<Props> = ({ className, pages }) => {
<div className="bg-black text-white">
<footer className={rootClassName}>
<Link href="/">
<a className="flex flex-initial items-center md:items-start font-bold md:mr-24">
<a className="flex flex-initial items-center font-bold md:mr-24">
<span className="rounded-full border border-gray-700 mr-2">
<Logo />
</span>

View File

@ -18,7 +18,11 @@ const DropdownMenu: FC<DropdownMenuProps> = ({
...props
}) => {
const { theme, setTheme } = useTheme()
usePreventScroll()
usePreventScroll({
isDisabled: !open,
})
return (
<Transition
show={open}

BIN
public/us-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B