Skip to content

Commit

Permalink
fix: use justify-between instead of grid, negative margin
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanfaraaz committed Oct 6, 2023
1 parent e8b64b8 commit 5d75d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/Bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ Bar.BG_DARK = 'bg-slate-800'
Bar.JUSTIFY_LEFT = 'flex no-wrap justify-start items-center'
Bar.JUSTIFY_RIGHT = 'flex no-wrap justify-end items-center'
Bar.JUSTIFY_BETWEEN = 'flex no-wrap justify-between items-center w-full'
Bar.GRID3 = 'w-full flex flex-row flex-nowrap md:grid md:grid md:grid-cols-3 md:auto-cols-max items-center'
Bar.GRID3 = 'w-full flex flex-row flex-nowrap justify-between gap-4 items-center'
Bar.PX_DEFAULT = 'px-2 md:px-6'
Bar.PX_DEFAULT_LG = 'px-6'
2 changes: 1 addition & 1 deletion src/components/ui/DesktopNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function DesktopNavBar ({ branding, search, navList }: DesktopApp
>
<div className='w-fit'>{branding}</div>

<div className='w-9/12 2xl:w-full mx-[-64px]'>
<div className='w-2/5 2xl:w-full'>
{search}
</div>

Expand Down

0 comments on commit 5d75d05

Please sign in to comment.