From a8f502f87a882bc4422b3560c2c3e8a16cb6df4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20V=C3=A4is=C3=A4nen?= Date: Fri, 15 Nov 2019 19:51:16 +0200 Subject: [PATCH] ui fixes --- client/src/App.css | 4 ++-- client/src/components/CounterToWappu.js | 2 +- server.js | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index 9a0266c..2cdab75 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -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; @@ -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; diff --git a/client/src/components/CounterToWappu.js b/client/src/components/CounterToWappu.js index 9c1b830..471078b 100644 --- a/client/src/components/CounterToWappu.js +++ b/client/src/components/CounterToWappu.js @@ -20,7 +20,7 @@ const renderer = ({ days, hours, minutes, seconds, completed }) => { - {("0" + days).slice(-2)} + {days} Days diff --git a/server.js b/server.js index 46e6ef0..f6897fb 100644 --- a/server.js +++ b/server.js @@ -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}`)); \ No newline at end of file