From 3fa0c6d6e8ee976f0680f4e4ed0e9a94aa1b8e44 Mon Sep 17 00:00:00 2001 From: Priyatham Sai Chand Date: Wed, 21 Apr 2021 02:45:20 +0530 Subject: [PATCH] Btn sizes fix --- src/App.css | 3 --- src/components/Header.js | 22 +++++++++++----------- src/components/MainPage.js | 2 +- src/components/styles.css | 20 ++++++++------------ 4 files changed, 20 insertions(+), 27 deletions(-) diff --git a/src/App.css b/src/App.css index 74b5e05..41e30ee 100644 --- a/src/App.css +++ b/src/App.css @@ -1,6 +1,3 @@ -.App { - text-align: center; -} .App-logo { height: 40vmin; diff --git a/src/components/Header.js b/src/components/Header.js index c44664f..d7e5992 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -19,14 +19,11 @@ export const Header = (props) => { -

- Powered By - - Finstreet - +

Powered By Finstreet

+
{currency} @@ -35,7 +32,9 @@ export const Header = (props) => { setCurrency(e.target.value)}>INR +
+
{asset} @@ -56,28 +55,29 @@ export const Header = (props) => { setAsset(e.target.value)}>WRX +
+
diff --git a/src/components/MainPage.js b/src/components/MainPage.js index 7001f41..9d4a470 100644 --- a/src/components/MainPage.js +++ b/src/components/MainPage.js @@ -15,7 +15,7 @@ const onThemeButtonClick = () => { }; return ( -
+
diff --git a/src/components/styles.css b/src/components/styles.css index 573fa27..21d2fd4 100644 --- a/src/components/styles.css +++ b/src/components/styles.css @@ -171,8 +171,8 @@ } .header-button { margin: 10px; - padding: 6px 20px; - border-radius: 10px; + padding: 6px 20px !important; + border-radius: 10px !important; } .telegram-logo { height: 15px; @@ -205,10 +205,10 @@ color: white; } .header-telegram-button { - margin: 10px; - padding: 6px 20px; - border-radius: 10px; - background-color: #3dc6c1; + margin: 10px !important; + padding: 6px 20px !important; + border-radius: 10px !important; + background-color: #3dc6c1 !important; color: white !important; } .theme-light { @@ -224,11 +224,8 @@ .theme-light .header-button { color: #0c0f48; background-color: #f8f9fa; - border-radius: 10px; - margin: 10px; - padding: 6px 20px; - border-radius: 10px; - border: 0; + border: 0px; + box-shadow: 0 0 2px #dddddd; } .theme-light .toggle-button-circle { height: 20px; @@ -315,7 +312,6 @@ border-radius: 10px; margin: 10px; padding: 6px 20px; - border-radius: 10px; border: 0; } .theme-dark .toggle-button-circle {