fix: scroll bug due to incorrect toggle state (#186)

* fix: add mobile menu overlay to toggle body scroll

* chore: update styles
This commit is contained in:
Xin
2023-11-03 16:39:36 -04:00
committed by GitHub
parent 088e9f7821
commit 363c8c91ee
4 changed files with 68 additions and 12 deletions

View File

@ -67,6 +67,7 @@
"[counter-reset:step]",
"[hyphens:auto]",
"[text-underline-position:from-font]",
"[transition:background-color_1.5s_ease]",
"[word-break:break-word]",
"absolute",
"active:bg-gray-400/20",
@ -90,6 +91,7 @@
"before:pointer-events-none",
"before:transition-transform",
"before:w-px",
"bg-black/80",
"bg-black/[.05]",
"bg-blue-100",
"bg-clip-text",
@ -159,6 +161,7 @@
"cursor-pointer",
"dark:before:bg-neutral-800",
"dark:before:invert",
"dark:bg-black/60",
"dark:bg-blue-900/30",
"dark:bg-dark",
"dark:bg-dark/50",
@ -235,6 +238,7 @@
"ease-in",
"filename",
"first:mt-0",
"fixed",
"flex",
"flex-col",
"focus:bg-white",
@ -311,6 +315,7 @@
"inline",
"inline-block",
"inline-flex",
"inset-0",
"inset-x-0",
"inset-y-0",
"items-center",
@ -401,6 +406,7 @@
"min-w-full",
"ml-1",
"ml-4",
"mobile-menu-overlay",
"mr-2",
"mt-1",
"mt-1.5",
@ -585,6 +591,7 @@
"w-screen",
"whitespace-nowrap",
"xl:block",
"z-10",
"z-20",
"z-[-1]"
],