Skip to content

Commit c2062dd

Browse files
committed
Fix centering of the text in the footer and adjust its size a bit for mobile
1 parent 9a508c6 commit c2062dd

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

src/components/Footer/style.scss

+14-17
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,29 @@
55
background-color: #F8F8F8;
66
border-top: 1px solid #E7E7E7;
77
padding-top: 10px;
8-
padding-bottom: 30px;
9-
left: 0;
8+
padding-bottom: 25px;
109
bottom: 0;
1110
height: 30px;
1211
width: 100%;
1312
position: absolute;
14-
display: flex;
15-
justify-content: center;
16-
13+
1714
&__center {
15+
font-size: 0.9rem;
1816
text-align: center;
19-
width: 80vw;
2017
}
2118

2219
&__right {
23-
position: relative;
24-
padding-top: 13px;
20+
position: absolute;
21+
bottom: 20px;
22+
right: 5vw;
2523
}
2624

2725
&__links {
2826
font-size: 0.8rem;
2927
}
30-
28+
3129
&__feed {
30+
font-size: 0.9rem;
3231
& i {
3332
color: lighten($color-base, 30%);
3433
}
@@ -41,18 +40,16 @@
4140
}
4241
}
4342

44-
@include breakpoint-sm {
43+
@include breakpoint-md {
4544
.footer {
45+
padding-bottom: 30px;
46+
4647
&__center {
47-
width: 90vw;
48+
font-size: 1rem;
4849
}
49-
}
50-
}
5150

52-
@include breakpoint-md {
53-
.footer {
54-
&__center {
55-
width: 95vw;
51+
&__right {
52+
right: 2vw;
5653
}
5754
}
5855
}

0 commit comments

Comments
 (0)