Skip to content

Commit

Permalink
css fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulrana701 committed Jan 10, 2025
1 parent dff3ed6 commit 9e0b413
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/navigation/FlyoutMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ interface FlyoutProps {
export default function Flyout({ items = [] }: FlyoutProps) {
return (
<div
className='absolute z-50 -ml-4 w-screen max-w-md pt-3 md:ml-12 md:-translate-x-1/2 lg:left-1/2 lg:max-w-3xl lg:-translate-x-1/2'
data-testid='Flyout-main'
className="absolute z-50 -ml-4 w-screen max-w-md pt-3 md:ml-12 md:-translate-x-1/2 lg:left-1/2 lg:max-w-3xl lg:-translate-x-1/2"
data-testid="Flyout-main"
>
<div className='rounded-lg shadow-lg'>
<div className='shadow-xs overflow-hidden rounded-lg'>
<div className='scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-transparent relative z-20 grid max-h-96 min-h-40 gap-6 overflow-y-auto bg-white px-5 py-6 sm:gap-8 sm:p-8 lg:grid-cols-2'>
<div className="rounded-lg shadow-lg">
<div className="shadow-xs overflow-hidden rounded-lg">
<div className="scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-transparent relative z-20 grid max-h-[calc(100vh-20px)] gap-6 overflow-y-auto bg-white px-5 py-6 sm:gap-8 sm:p-8 lg:grid-cols-2">
<MenuBlocks items={items} />
</div>
</div>
Expand Down

0 comments on commit 9e0b413

Please sign in to comment.