Skip to content

Commit

Permalink
ui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksi Väisänen committed Nov 15, 2019
1 parent f480afb commit a8f502f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ a:hover, .card-footer a:hover {
.counter-number {
font-family: 'Poppins', sans-serif;
font-weight: 900;
font-size: 8rem;
font-size: 6rem;
line-height: 1;
color: #fff;
text-transform: uppercase;
Expand Down Expand Up @@ -201,7 +201,7 @@ a:hover, .card-footer a:hover {

@media only screen and (max-width: 769px) {
.counter-number {
font-size: 6rem;
font-size: 4rem;
}
.jumbotron-fluid > .container > h1 {
padding-top: 1rem;
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/CounterToWappu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const renderer = ({ days, hours, minutes, seconds, completed }) => {

<Row className="justify-content-center align-items-center">
<Col sm={3} className="wsize1 mb-2 d-flex flex-column align-items-start">
<span className="counter-number text-left">{("0" + days).slice(-2)}</span>
<span className="counter-number text-left">{days}</span>
<span className="counter-text">Days</span>
</Col>

Expand Down
5 changes: 3 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ if (process.env.NODE_ENV === 'production') {
const port = process.env.PORT || 5000;

//create user
dataInitializer.createUser();
app.listen(port, () => console.log(`Server started on port ${port}`));
// dataInitializer.createUser();

app.listen(port, () => console.log(`Server started on port ${port}`));

0 comments on commit a8f502f

Please sign in to comment.