Skip to content

Commit

Permalink
Merge pull request #262 from codegouvfr/255-footer-sans-partenaire-pr…
Browse files Browse the repository at this point in the history
…incipal-les-partenaires-secondaires-devraient-être-alignés-à-gauche

Fix / Footer's partner layout
  • Loading branch information
garronej committed Jun 6, 2024
2 parents 4c41367 + f3a19df commit 52bb5c8
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,14 @@ export const Footer = memo(
classes.partnersLogos
)}
>
<div
className={cx(
fr.cx("fr-footer__partners-main"),
classes.partnersMain
)}
>
{mainPartnersLogo !== undefined &&
(() => {
{mainPartnersLogo !== undefined && (
<div
className={cx(
fr.cx("fr-footer__partners-main"),
classes.partnersMain
)}
>
{(() => {
const children = (
<img
alt={mainPartnersLogo.alt}
Expand Down Expand Up @@ -409,7 +409,8 @@ export const Footer = memo(
children
);
})()}
</div>
</div>
)}
{subPartnersLogos.length !== 0 && (
<div
className={cx(
Expand Down

0 comments on commit 52bb5c8

Please sign in to comment.