Skip to content

Commit

Permalink
Add z-index to footer for better positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkmift committed Mar 6, 2024
1 parent 33ece98 commit c8bf1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const FooterLink = ({ href, text }: FooterLinkProps) => (

const Footer: React.FC = () => {
return (
<footer className="sticky bottom-0 grid py-6 font-inter md:grid-cols-2 border-t-[1px] w-full h-96 md:h-40 border-blue-600 bg-lightBg dark:bg-darkAccBg text-darkText dark:text-lightText">
<footer className="z-10 sticky bottom-0 grid py-6 font-inter md:grid-cols-2 border-t-[1px] w-full h-96 md:h-40 border-blue-600 bg-lightBg dark:bg-darkAccBg text-darkText dark:text-lightText">
<div className="grid w-full grid-cols-2 2xl:w-2/3 md:px-16 lg:px-24 ">
{links.map((link, index) => (
<FooterLink key={index} href={link.href} text={link.text} />
Expand Down

0 comments on commit c8bf1f1

Please sign in to comment.