Skip to content

Commit a58ae59

Browse files
committed
fix footer in mobile
1 parent ad17c6b commit a58ae59

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/style.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ a {
3232
}
3333

3434
footer {
35+
max-width: 100%;
3536
background: var(--background-secondary-color);
36-
padding: 1em 15em;
37+
padding: 1em 15vw;
3738
display: flex;
3839
justify-content: space-between;
3940
align-items: center;
@@ -45,6 +46,8 @@ footer {
4546
display: flex;
4647
flex-direction: row;
4748
align-items: center;
49+
flex-wrap: wrap;
50+
justify-content: center;
4851
}
4952

5053
p {
@@ -68,6 +71,7 @@ footer {
6871
border-radius: 999em;
6972
}
7073
}
74+
7175
a:has(img) {
7276
padding: 10px 7.5px;
7377
}
@@ -327,7 +331,7 @@ header {
327331
.desktop {
328332
display: none;
329333
}
330-
334+
331335
header {
332336
>h2 {
333337
display: none;

0 commit comments

Comments
 (0)