Skip to content

Commit edef4ef

Browse files
committed
Fixed Footer:resolve mobile navigation link layout collision with scroll-to-up Button.
1 parent 4e27e7f commit edef4ef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/Footer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import Link from 'next/link';
22

33
export function Footer() {
44
return (
5-
<footer className="mt-14 border-t border-black/15 dark:border-white/10 bg-transparent pt-10 pb-4 text-sm transition-colors">
6-
<div className="mx-auto flex max-w-7xl flex-col items-start justify-between gap-8 px-6 md:flex-row">
5+
<footer className="mt-14 border-t border-black/15 dark:border-white/10 bg-transparent pt-10 pb-24 md:pb-6 text-sm transition-colors">
6+
<div className="mx-auto flex max-w-7xl flex-col items-center text-center justify-between gap-8 px-6 md:flex-row md:items-start md:text-left">
77
{/* LEFT */}
88
<div className="text-center md:text-left">
99
<h2 className="text-lg font-semibold text-black dark:text-white">CommitPulse</h2>
@@ -14,7 +14,7 @@ export function Footer() {
1414
</div>
1515

1616
{/* RIGHT */}
17-
<div className="flex items-start gap-6 text-sm font-medium text-zinc-600 dark:text-zinc-400">
17+
<div className="flex flex-wrap justify-center items-center gap-6 font-medium text-zinc-600 dark:text-zinc-400">
1818
{' '}
1919
<Link
2020
href="/contributors"

0 commit comments

Comments
 (0)