Skip to content

Commit

Permalink
Merge pull request #3773 from dfinity/rei/fix-nav-space
Browse files Browse the repository at this point in the history
fix nav top padding
  • Loading branch information
reigj1 authored Nov 19, 2024
2 parents 7b300dc + 685f392 commit 4d91189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Common/MarketingNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const Flyout: React.FC<{ item: NavItem; isActive }> = ({ item, isActive }) => {
}, [isActive]);

return (
<div className="absolute z-[1000] top-20 left-1/2 -translate-x-1/2 p-4 opacity-0 pointer-events-none cursor-default invisible group-hover:opacity-100 group-hover:pointer-events-auto group-hover:visible">
<div className="absolute z-[1000] top-[4.84rem] left-1/2 -translate-x-1/2 p-4 opacity-0 pointer-events-none cursor-default invisible group-hover:opacity-100 group-hover:pointer-events-auto group-hover:visible">
<div className="shadow-2xl dark-hero:shadow-none bg-white rounded-3xl overflow-hidden hidden md:flex flex-col">
<div className="flex-1 flex">
{item.sections.length > 1 && (
Expand Down

0 comments on commit 4d91189

Please sign in to comment.