Skip to content

Commit 32ebd1f

Browse files
Fix the vertical and horizontal positionnings of the content of the columns of the footer.
1 parent 042c290 commit 32ebd1f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/components/footer/Footer.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ export default function Footer() {
2525
<div className={"row"} style={{ paddingBottom: "var(--ifm-spacing-xl)" }}>
2626
<div
2727
className={
28-
"col flex-full-centered" + " " + styles.social_media_desktop
28+
"col flex-horizontally-centered" + " " + styles.social_media_desktop
2929
}
3030
>
3131
<SocialMediasQuantStack />
3232
</div>
33-
<div className={"col"}>
33+
<div className={"col flex-horizontally-centered"}>
3434
<div className={"container" + " " + styles.menu_container}>
3535
<div style={{ textAlign: "center" }}>
3636
<b>Menu</b> <br />
3737
</div>
3838
<div className="row">
39-
<div className="col">
39+
<div className="col flex-horizontally-centered">
4040
<ul>
4141
<li>
4242
<Link href={"/home"}>Home</Link>
@@ -50,7 +50,7 @@ export default function Footer() {
5050
</li>
5151
</ul>
5252
</div>
53-
<div className="col">
53+
<div className="col flex-horizontally-centered">
5454
<ul>
5555
<li>
5656
<Link href={"/services"}>Services</Link>
@@ -67,7 +67,7 @@ export default function Footer() {
6767
</div>
6868
</div>
6969

70-
<div className="col">
70+
<div className="col flex-horizontally-centered">
7171
<div className={styles.social_media_mobile}>
7272
<SocialMediasQuantStack/>
7373
</div>

src/css/custom.css

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
justify-content: center;
7070
}
7171

72+
.flex-horizontally-centered {
73+
display: flex;
74+
justify-content: center;
75+
}
76+
7277
.horizontally-centered {
7378
justify-content: center;
7479
}

0 commit comments

Comments
 (0)