Skip to content

Commit f24d794

Browse files
fixed sticky footer
1 parent f6c7666 commit f24d794

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

_sass/_footer.scss

+19-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
========================================================================== */
44

55
.page__footer {
6-
@include full();
76
@include clearfix;
7+
float: left;
8+
margin-left: 0;
9+
margin-right: 0;
10+
width: 100%;
11+
clear: both;
812
/* sticky footer fix start */
913
position: absolute;
10-
bottom: 0;
14+
bottom: 0em;
1115
height: auto;
1216
/* sticky footer fix end */
1317
margin-top: 3em;
@@ -20,9 +24,11 @@
2024
border-top: 1px solid $light-gray;
2125

2226
footer {
23-
@include container;
2427
@include clearfix;
28+
margin-left: auto;
29+
margin-right: auto;
2530
margin-top: 2em;
31+
max-width: 100%;
2632
padding: 0 1em 2em;
2733

2834
@include breakpoint($x-large) {
@@ -39,7 +45,10 @@
3945
}
4046
}
4147

42-
.fa {
48+
.fas,
49+
.fab,
50+
.far,
51+
.fal {
4352
color: mix(#fff, $gray, 25%);
4453
}
4554
}
@@ -50,7 +59,6 @@
5059
}
5160

5261
.page__footer-follow {
53-
5462
ul {
5563
margin: 0;
5664
padding: 0;
@@ -75,4 +83,10 @@
7583
padding-right: 10px;
7684
font-weight: bold;
7785
}
86+
87+
.social-icons {
88+
a {
89+
white-space: nowrap;
90+
}
91+
}
7892
}

0 commit comments

Comments
 (0)