Skip to content

Commit b64b19a

Browse files
authored
Merge pull request #4 from lucassabreu/fix-footer
fix footer
2 parents 521fbd8 + 9761d0d commit b64b19a

File tree

4 files changed

+36
-6
lines changed

4 files changed

+36
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [0.1.1] - 2018-02-25
10+
11+
### Fixed
12+
- Fixed Footer brocking when in lower widths
13+
914
## [0.1.0] - 2018-02-25
1015

1116
### Added

src/App.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
padding-bottom: 12rem;
55
}
66

7+
@media (max-width: 576px) {
8+
.CWSPApp {
9+
padding-bottom: 16.5rem;
10+
}
11+
}
12+
713
.CWSPApp header {
814
font-family: Oswald, Roboto, sans-serif;
915
font-size: 120%;

src/Footer.css

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,32 @@
88
left: 0;
99
}
1010

11+
#footer a {
12+
color: white;
13+
border: 0;
14+
}
15+
1116
#footer .text {
1217
float: right;
13-
margin: 9px 32px 0 0;
18+
margin: 0 2rem 0 0;
1419
text-align: right;
1520
}
1621

1722
#footer .white-logo {
18-
width: 28px;
19-
margin-top: 5px;
23+
float: right;
24+
height: 4.5rem;
25+
}
26+
27+
@media (max-width: 576px) {
28+
#footer {
29+
text-align: center;
30+
}
31+
#footer .white-logo {
32+
float: none;
33+
text-align: center;
34+
}
35+
#footer .text {
36+
text-align: center;
37+
margin: 0;
38+
}
2039
}

src/Footer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ const Footer = () => (
77
<div className="container">
88
<div className="row">
99
<div className="col-md-12">
10-
<CoderockrWhite alt="Coderockr Logo" title="You Rock!" className="white-logo pull-right" />
10+
<CoderockrWhite alt="Coderockr Logo" title="You Rock!" className="white-logo" />
1111
<div className="text">
1212
<p>
13-
+55 47 3227-6359 &nbsp;&nbsp;&nbsp;
14-
contato@coderockr.com
13+
<a href="phone:+55 47 3227-6359">+55 47 3227-6359</a> &nbsp;&nbsp;&nbsp;
14+
<a href="mail:contato@coderockr.com">contato@coderockr.com</a>
1515
</p>
1616
<p className="copyright">© 2018 Coderockr. Todos os direitos reservados. &nbsp; Joinville - SC</p>
1717
</div>

0 commit comments

Comments
 (0)