Skip to content

Commit

Permalink
Fix touching buttons on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed May 14, 2024
1 parent 0421325 commit d615cf0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/routes/$lang.$ref.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,7 @@ function Header() {
function DocSearchSection({ className }: { className?: string }) {
return (
<div
className={classNames(
"relative -mx-3 lg:sticky lg:top-0 lg:z-10",
className
)}
className={classNames("relative lg:sticky lg:top-0 lg:z-10", className)}
>
<div className="absolute -top-24 hidden h-24 w-full bg-white dark:bg-gray-900 lg:block" />
<div
Expand Down Expand Up @@ -354,7 +351,7 @@ function NavMenuDesktop() {
"h-[calc(100vh-var(--header-height))]"
)}
>
<DocSearchSection />
<DocSearchSection className="-mx-3" />
<div className="[&_*:focus]:scroll-mt-[6rem]">
<Menu />
</div>
Expand Down

0 comments on commit d615cf0

Please sign in to comment.