Skip to content

Commit

Permalink
fix nav at top (#148)
Browse files Browse the repository at this point in the history
* improve select components

* improve path

* fix nav at top
  • Loading branch information
domechn committed Nov 6, 2023
1 parent 53f29a8 commit 0ac205c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,10 @@ const App = () => {
}, [lo.pathname]);

return (
<div>
<div className=" flex-col md:flex">
<div className="border-b mb-4">
<div className='pb-12'
>
<div className="fixed top-0 left-4 right-0 z-10 bg-white flex-col md:flex">
<div className="border-b">
<div className="flex h-12 items-center px-4">
<MainNav className="mx-0" />
<div className="ml-auto flex items-center space-x-4">
Expand All @@ -254,7 +255,9 @@ const App = () => {
</div>
</div>
</div>
<Outlet></Outlet>
<div className='mt-4'>
<Outlet></Outlet>
</div>
</div>
);
}
Expand Down

0 comments on commit 0ac205c

Please sign in to comment.