Skip to content

Commit

Permalink
Merge pull request #4 from lucassabreu/fix-footer
Browse files Browse the repository at this point in the history
fix footer
  • Loading branch information
lucassabreu authored Feb 25, 2018
2 parents 521fbd8 + 9761d0d commit b64b19a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.1.1] - 2018-02-25

### Fixed
- Fixed Footer brocking when in lower widths

## [0.1.0] - 2018-02-25

### Added
Expand Down
6 changes: 6 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
padding-bottom: 12rem;
}

@media (max-width: 576px) {
.CWSPApp {
padding-bottom: 16.5rem;
}
}

.CWSPApp header {
font-family: Oswald, Roboto, sans-serif;
font-size: 120%;
Expand Down
25 changes: 22 additions & 3 deletions src/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,32 @@
left: 0;
}

#footer a {
color: white;
border: 0;
}

#footer .text {
float: right;
margin: 9px 32px 0 0;
margin: 0 2rem 0 0;
text-align: right;
}

#footer .white-logo {
width: 28px;
margin-top: 5px;
float: right;
height: 4.5rem;
}

@media (max-width: 576px) {
#footer {
text-align: center;
}
#footer .white-logo {
float: none;
text-align: center;
}
#footer .text {
text-align: center;
margin: 0;
}
}
6 changes: 3 additions & 3 deletions src/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const Footer = () => (
<div className="container">
<div className="row">
<div className="col-md-12">
<CoderockrWhite alt="Coderockr Logo" title="You Rock!" className="white-logo pull-right" />
<CoderockrWhite alt="Coderockr Logo" title="You Rock!" className="white-logo" />
<div className="text">
<p>
+55 47 3227-6359 &nbsp;&nbsp;&nbsp;
[email protected]
<a href="phone:+55 47 3227-6359">+55 47 3227-6359</a> &nbsp;&nbsp;&nbsp;
<a href="mail:[email protected]">[email protected]</a>
</p>
<p className="copyright">© 2018 Coderockr. Todos os direitos reservados. &nbsp; Joinville - SC</p>
</div>
Expand Down

0 comments on commit b64b19a

Please sign in to comment.