style: hide footer in mobile mode

style: avoid ui overflow in mobile mode
This commit is contained in:
Wentao Lyu 2023-03-18 00:29:34 +08:00
parent e11ce141d7
commit 7372b37fe6
5 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ export default function MobileNav({ setNavVisible }) {
}
return (
<div className="sticky top-0 z-10 flex items-center border-b border-white/20 bg-gray-800 pl-1 pt-1 text-gray-200 sm:pl-3 md:hidden">
<div className="fixed top-0 left-0 right-0 z-10 flex items-center border-b border-white/20 bg-gray-800 pl-1 pt-1 text-gray-200 sm:pl-3 md:hidden">
<button
type="button"
className="-ml-0.5 -mt-0.5 inline-flex h-10 w-10 items-center justify-center rounded-md hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white dark:hover:text-white"