diff options
author | jloup <jeanloup.jamet@gmail.com> | 2018-02-25 21:35:11 +0100 |
---|---|---|
committer | jloup <jeanloup.jamet@gmail.com> | 2018-02-25 21:35:11 +0100 |
commit | a2ab2260d38391006651f5f5cb1627bce836d1fa (patch) | |
tree | a246514737cbe6804692798062a02ffbbbf8eeb2 | |
parent | b5c34e88bbe09173aca1d1c1014cb42b01866d79 (diff) | |
download | Front-a2ab2260d38391006651f5f5cb1627bce836d1fa.tar.gz Front-a2ab2260d38391006651f5f5cb1627bce836d1fa.tar.zst Front-a2ab2260d38391006651f5f5cb1627bce836d1fa.zip |
small UI tweaks (alignment).v0.0.2
-rw-r--r-- | cmd/web/js/main.jsx | 2 | ||||
-rw-r--r-- | cmd/web/js/poloniex.jsx | 2 | ||||
-rw-r--r-- | cmd/web/static/style.css | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/cmd/web/js/main.jsx b/cmd/web/js/main.jsx index c95c748..e64adc7 100644 --- a/cmd/web/js/main.jsx +++ b/cmd/web/js/main.jsx | |||
@@ -30,7 +30,7 @@ class Header extends React.Component { | |||
30 | 30 | ||
31 | class Logo extends React.Component { | 31 | class Logo extends React.Component { |
32 | render() { | 32 | render() { |
33 | return <div id="logo" className="w-100"> | 33 | return <div id="logo" className="w-100 h-100 align-self-center"> |
34 | <h1><a href="/">CryptoPF</a></h1> | 34 | <h1><a href="/">CryptoPF</a></h1> |
35 | </div>; | 35 | </div>; |
36 | } | 36 | } |
diff --git a/cmd/web/js/poloniex.jsx b/cmd/web/js/poloniex.jsx index a5fb9a7..c0b68c7 100644 --- a/cmd/web/js/poloniex.jsx +++ b/cmd/web/js/poloniex.jsx | |||
@@ -177,7 +177,7 @@ class PoloniexCredentialsForm extends React.Component { | |||
177 | 177 | ||
178 | return ( | 178 | return ( |
179 | <div className="row api-credentials-form"> | 179 | <div className="row api-credentials-form"> |
180 | <div className="offset-3 col-6 box"> | 180 | <div className="offset-2 col-8 box"> |
181 | <span className="text-center">Poloniex credentials</span> | 181 | <span className="text-center">Poloniex credentials</span> |
182 | <hr/> | 182 | <hr/> |
183 | <form role="form" onSubmit={this.handleSubmit}> | 183 | <form role="form" onSubmit={this.handleSubmit}> |
diff --git a/cmd/web/static/style.css b/cmd/web/static/style.css index cdbcd06..1e09fcb 100644 --- a/cmd/web/static/style.css +++ b/cmd/web/static/style.css | |||
@@ -46,6 +46,8 @@ i.cc { | |||
46 | 46 | ||
47 | h1 { | 47 | h1 { |
48 | font-size: 1.5em; | 48 | font-size: 1.5em; |
49 | margin-bottom: 5px; | ||
50 | margin-top: 5px; | ||
49 | } | 51 | } |
50 | 52 | ||
51 | .sign-in .form-control { | 53 | .sign-in .form-control { |