Skip to content

Commit

Permalink
fix: removed flickering effect in navbar for small devices (#3014)
Browse files Browse the repository at this point in the history
Co-authored-by: Ansh Goyal <[email protected]>
  • Loading branch information
anuragnegi000 and anshgoyalevil authored Jul 6, 2024
1 parent 3267eda commit 98d3029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/navigation/MobileNavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export default function MobileNavMenu({ onClickClose = () => {} }: MobileNavMenu
<div className='fixed inset-x-0 top-0 z-60 max-h-full origin-top-right overflow-y-auto py-2 transition lg:hidden'>
<div className='rounded-lg shadow-lg'>
<div className='shadow-xs divide-y-2 divide-gray-50 rounded-lg bg-white'>
<div className='space-y-6 px-5 pb-6 pt-5'>
<div className='space-y-6 px-4 pb-6 pt-4'>
<div className='flex items-center justify-between'>
<Link href='/' className='cursor-pointer' data-testid='MobileNav-Logo'>
<AsyncAPILogo className='h-8 w-auto' />
<AsyncAPILogo className='h-10 w-auto' />
</Link>
<div className='justify-content -mr-2 flex flex-row items-center' data-testid='MobileNav-button'>
<SearchButton
Expand Down

0 comments on commit 98d3029

Please sign in to comment.