Skip to content

Commit

Permalink
fix: temporary fix for footer height on mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Jul 29, 2022
1 parent eb0d6f1 commit 015ebc3
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions app/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,31 @@ import BCGovLink from "@button-inc/bcgov-theme/Link";

const Footer = () => {
return (
<BCGovFooter>
<ul>
{footerLinks.map(({ name, href }) => (
<li key={name}>
<Link passHref href={href}>
<BCGovLink target="_blank" style={{ textDecoration: "none" }}>
{name}
</BCGovLink>
</Link>
</li>
))}
</ul>
</BCGovFooter>
<>
<div>
<BCGovFooter>
<ul>
{footerLinks.map(({ name, href }) => (
<li key={name}>
<Link passHref href={href}>
<BCGovLink target="_blank">{name}</BCGovLink>
</Link>
</li>
))}
</ul>
</BCGovFooter>
</div>
<style jsx>
{`
div :global(.pg-footer-footer) {
height: auto;
}
div :global(a) {
text-decoration: none;
}
`}
</style>
</>
);
};

Expand Down

0 comments on commit 015ebc3

Please sign in to comment.