Skip to content

Commit

Permalink
fix(css): fix glitches on mobile in Navigation component
Browse files Browse the repository at this point in the history
  • Loading branch information
natterstefan committed Apr 14, 2021
1 parent 45f9e81 commit 8e3ee8f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ export const Navigation = () => {
const { t } = useTranslation()

return (
<nav className="flex items-center justify-between p-8">
<ul
className="flex items-center justify-between space-x-4"
data-cy="home-links"
>
<nav className="flex flex-wrap items-center justify-between gap-4 p-8">
<ul className="flex items-center gap-4" data-cy="home-links">
<li>
<Link href="/" locale="en">
<a className="text-blue-500 no-underline">
Expand All @@ -35,7 +32,7 @@ export const Navigation = () => {
</Link>
</li>
</ul>
<ul className="flex items-center justify-between space-x-4">
<ul className="flex flex-wrap items-center gap-4">
{links.map(({ href, label }) => (
<li key={`${href}${label}`}>
<a
Expand Down

0 comments on commit 8e3ee8f

Please sign in to comment.