From e06d3b08a28eddb1edb0681e8c5cfb5a545bae0d Mon Sep 17 00:00:00 2001 From: Sami Spets <savasp@utu.fi> Date: Wed, 18 Sep 2019 14:39:46 +0300 Subject: [PATCH] Corrected the styles --- web-service/client/src/App.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web-service/client/src/App.js b/web-service/client/src/App.js index 9bf35de7e..51998828c 100644 --- a/web-service/client/src/App.js +++ b/web-service/client/src/App.js @@ -18,14 +18,15 @@ const App = () => { if(window.localStorage.getItem('token')){ return ( - <div className="margin: 'auto', text-align: 'center'"> + <div style={{'margin': 'auto', 'text-align': 'center'}}> <h1>IT WORKS!!</h1> <h2>Namibia here we come!</h2> + <button onClick={() => {window.localStorage.clear()}}>Remove all cookies</button> </div> ) } return ( - <div className='loginForm'> + <div style={{'padding-top': '150px', 'text-align': 'center'}}> <h2>Welcome to Future Technology Lab</h2> <h3>Please login!</h3> <a className="button" onClick={handleLogin}> -- GitLab