Skip to content

Commit 9aaa5d7

Browse files
Merge pull request #326 from CivicDataLab/323-update-navbar
Resolved issue where cdl logo was touching the bottom edge while scrolling
2 parents 356ad78 + 3b00fff commit 9aaa5d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/[locale]/dashboard/components/main-nav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export function MainNav({ hideSearch = false }) {
125125
}
126126
};
127127
return (
128-
<nav className="p-4 lg:p-6">
129-
<div className="flex items-center justify-between gap-4 ">
128+
<nav className="px-4 py-6 lg:px-6 md:py-5 sm:py-8 lg:py-3 min-h-[80px] sticky top-1 z-50">
129+
<div className="flex items-center justify-between gap-4">
130130
<div className="flex items-center gap-1">
131131
<div className="lg:hidden">
132132
<Sidebar
@@ -139,7 +139,7 @@ export function MainNav({ hideSearch = false }) {
139139
</div>
140140
<Link href="/">
141141
<div className="flex items-center gap-2">
142-
<div className="group relative h-[68px] w-[183px] overflow-hidden">
142+
<div className="group relative h-[35px] md:h-[40px] lg:h-[68px] w-[130px] md:w-[150px] lg:w-[183px] overflow-hidden">
143143
{/* Static Logo */}
144144
<div className="absolute inset-0">
145145
<Image

0 commit comments

Comments
 (0)