Skip to content

Commit e44a00a

Browse files
authored
Merge pull request #1849 from AletheiaFact/Fix-bug-in-footer-responsiveness
Fixing bug in footer responsiveness
2 parents 4d95524 + 7f16394 commit e44a00a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/components/Footer/AletheiaInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const AletheiaInfo = () => {
2020
fontSize: "23px",
2121
color: colors.white,
2222
marginBottom: 0,
23-
marginTop: vw?.sm ? "64px" : "0",
23+
marginTop: vw?.xs ? "44px" : "0",
2424
textAlign: "center",
2525
}}
2626
>

src/components/Footer/Footer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Footer = () => {
3535
}}
3636
>
3737
<Grid container spacing={3} justifyContent="center">
38-
<Grid item lg={4} md={5} sm={12}>
38+
<Grid item md={4} sm={6} xs={12}>
3939
<AletheiaSocialMediaFooter />
4040
<Box
4141
sx={{
@@ -79,17 +79,17 @@ const Footer = () => {
7979
</Grid>
8080
<Grid
8181
item
82-
lg={4}
83-
md={5}
84-
sm={12}
82+
md={4}
83+
sm={6}
84+
xs={12}
8585
sx={{
8686
display: "flex",
8787
flexDirection: "column",
8888
justifyContent: "space-between",
8989
}}
9090
>
9191
<FooterInfo />
92-
<Box sx={{ mt: vw?.sm ? 8 : 0 }}>
92+
<Box sx={{ mt: vw?.xs ? 8 : 0 }}>
9393
<Typography
9494
variant="h6"
9595
sx={{
@@ -105,7 +105,7 @@ const Footer = () => {
105105
</Typography>
106106
</Box>
107107
</Grid>
108-
<Grid item lg={4} md={5} sm={12}>
108+
<Grid item md={4} sm={6} xs={12}>
109109
<AletheiaInfo />
110110
</Grid>
111111
</Grid>

src/components/Footer/FooterInfo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const FooterInfo = () => {
1515

1616
return (
1717
<Grid container style={{ justifyContent: vw?.sm ? "center" : "start" }}>
18-
<span style={{ textAlign: "justify", marginBottom: "16px" }}>
18+
<span style={{ fontSize: "14px", textAlign: "justify", marginBottom: "16px" }}>
1919
{t("about:alertInfo")}
2020
<a
2121
style={{
@@ -38,7 +38,7 @@ const FooterInfo = () => {
3838
target="_blank"
3939
rel="noreferrer"
4040
>
41-
{t("about:labelButton")} <DescriptionOutlined fontSize="small"/>
41+
{t("about:labelButton")} <DescriptionOutlined fontSize="small"/>
4242
</AletheiaButton>
4343
) : null}
4444
</Grid>

0 commit comments

Comments
 (0)