Skip to content

Commit

Permalink
refactor: responsive of nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
huilensolis committed May 11, 2024
1 parent 60cd8a3 commit b51132f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(site)/app/components/mobile-nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { IconLink } from "@/components/feature/nav/icon-link";
export function MobileNavMenu() {
return (
<nav className="w-full flex items-center justify-center">
<ul className="flex items-center justify-center w-full gap-8 py-2 px-8 bg-neutral-200 dark:bg-cm-darker-gray border-t border-neutral-300 dark:border-neutral-700">
<ul className="flex items-center ss:justify-center justify-around gap-0 ss:gap-8 w-full py-2 px-8 bg-neutral-200 dark:bg-cm-darker-gray border-t border-neutral-300 dark:border-neutral-700">
{NAV_LINKS.map((navLink) => (
<li key={navLink.href}>
<IconLink href={navLink.href} icon={navLink.icon} />
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const config: Config = {
animation: {
"shrink-from-left": "shrink-from-left 1.5s ease-out forwards",
},
screens: {
ss: "400px",
},
},
},
plugins: [],
Expand Down

0 comments on commit b51132f

Please sign in to comment.