Skip to content

Commit

Permalink
fix: footer incorrect margin
Browse files Browse the repository at this point in the history
The footer has too much elements that on tablet mode creates an
horizontal scroll.

fixes #14
  • Loading branch information
igobranco committed Dec 6, 2024
1 parent 47d0b38 commit 8c5636b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SiteFooter extends React.Component {
role="contentinfo"
>
<section className="footer-navigation">
<div className="container d-md-flex justify-content-between py-3">
<div className="container-xl d-xl-flex justify-content-between py-3">
<div className="footer-navigation__brand d-flex flex-column justify-content-between px-4">
<a
className="d-block"
Expand Down
6 changes: 3 additions & 3 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
className="footer-navigation"
>
<div
className="container d-md-flex justify-content-between py-3"
className="container-xl d-xl-flex justify-content-between py-3"
>
<div
className="footer-navigation__brand d-flex flex-column justify-content-between px-4"
Expand Down Expand Up @@ -89,7 +89,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
className="footer-navigation"
>
<div
className="container d-md-flex justify-content-between py-3"
className="container-xl d-xl-flex justify-content-between py-3"
>
<div
className="footer-navigation__brand d-flex flex-column justify-content-between px-4"
Expand Down Expand Up @@ -131,7 +131,7 @@ exports[`<Footer /> renders correctly renders without a language selector in pt-
className="footer-navigation"
>
<div
className="container d-md-flex justify-content-between py-3"
className="container-xl d-xl-flex justify-content-between py-3"
>
<div
className="footer-navigation__brand d-flex flex-column justify-content-between px-4"
Expand Down

0 comments on commit 8c5636b

Please sign in to comment.