summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-04-05 12:08:00 -0300
committerSriram Viswanathan <sriramv@thoughtworks.com>2017-04-05 12:08:00 -0300
commit161af0e198d98fa4855c8846924e37ae756923d0 (patch)
treec067b92311fd46edde67ede86fd966bed554d98c /web-ui
parent8198fa48d2e42d89457940590ec4b308ee541090 (diff)
[#938] Fixes styling of title & button on backup-account step
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/src/account_recovery/page.scss1
-rw-r--r--web-ui/src/common/link_button/link_button.js11
-rw-r--r--web-ui/src/common/link_button/link_button.scss2
3 files changed, 12 insertions, 2 deletions
diff --git a/web-ui/src/account_recovery/page.scss b/web-ui/src/account_recovery/page.scss
index c61c855e..378bf63c 100644
--- a/web-ui/src/account_recovery/page.scss
+++ b/web-ui/src/account_recovery/page.scss
@@ -59,6 +59,7 @@ section {
h1 {
font-size: 1.3em;
font-weight: 600;
+ text-align: center;
}
p {
diff --git a/web-ui/src/common/link_button/link_button.js b/web-ui/src/common/link_button/link_button.js
index e18903f2..17391ce6 100644
--- a/web-ui/src/common/link_button/link_button.js
+++ b/web-ui/src/common/link_button/link_button.js
@@ -33,6 +33,14 @@ const buttonStyle = {
backgroundColor: '#fff'
};
+const overlayStyle = {
+ height: '48px'
+};
+
+const style = {
+ boxShadow: 'none'
+};
+
const LinkButton = ({ buttonText, href }) => (
<div className='submit-button link-button'>
<RaisedButton
@@ -41,7 +49,8 @@ const LinkButton = ({ buttonText, href }) => (
label={buttonText}
labelStyle={labelStyle}
buttonStyle={buttonStyle}
- overlayStyle={buttonStyle}
+ overlayStyle={overlayStyle}
+ style={style}
fullWidth
/>
</div>
diff --git a/web-ui/src/common/link_button/link_button.scss b/web-ui/src/common/link_button/link_button.scss
index 9318e08e..ccea5523 100644
--- a/web-ui/src/common/link_button/link_button.scss
+++ b/web-ui/src/common/link_button/link_button.scss
@@ -17,5 +17,5 @@
.link-button > div {
margin-top: 2em;
- border: 1px solid #ff9c00;
+ border: 2px solid #ff9c00;
}