aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-22 01:34:24 +0800
committerDan <danjm.com@gmail.com>2018-06-22 02:20:51 +0800
commite8fa18779d72a74fa1c003415c73f715177a64d8 (patch)
tree3b44f9bda5ca4a4b9b385913f486797a0abb39dd /ui/app
parent46b2f1df11b83e961ebb3adb96c2e8cd116f9ae3 (diff)
downloadtangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar.gz
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar.bz2
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar.lz
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar.xz
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.tar.zst
tangerine-wallet-browser-e8fa18779d72a74fa1c003415c73f715177a64d8.zip
Fix style of shapeshift screen in deposit modal.
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/shapeshift-form.js2
-rw-r--r--ui/app/css/itcss/components/modal.scss31
2 files changed, 26 insertions, 7 deletions
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js
index 93d2023b5..2c4ba40bf 100644
--- a/ui/app/components/shapeshift-form.js
+++ b/ui/app/components/shapeshift-form.js
@@ -181,7 +181,7 @@ ShapeshiftForm.prototype.render = function () {
return h('div.shapeshift-form-wrapper', [
showQrCode
? this.renderQrCode()
- : h('div.shapeshift-form', [
+ : h('div.modal-shapeshift-form', [
h('div.shapeshift-form__selectors', [
h('div.shapeshift-form__selector', [
diff --git a/ui/app/css/itcss/components/modal.scss b/ui/app/css/itcss/components/modal.scss
index 74658f656..42ef7ae0a 100644
--- a/ui/app/css/itcss/components/modal.scss
+++ b/ui/app/css/itcss/components/modal.scss
@@ -642,10 +642,31 @@
display: flex;
flex-flow: column nowrap;
flex: 1;
+ align-items: center;
@media screen and (max-width: 575px) {
height: 0;
}
+
+ .shapeshift-form-wrapper {
+ display: flex;
+ flex-flow: column;
+ justify-content: center;
+ align-items: center;
+ flex: 1 0 auto;
+
+ .shapeshift-form, .modal-shapeshift-form {
+ border-radius: 8px;
+ background-color: rgba(0, 0, 0, .05);
+ padding: 17px 15px;
+ margin-bottom: 10px;
+
+ &__caret {
+ width: auto;
+ flex: 1;
+ }
+ }
+ }
}
&__logo {
@@ -773,17 +794,15 @@
margin-top: 28px;
flex: 1 0 auto;
- .shapeshift-form {
- width: auto;
+ .shapeshift-form, .modal-shapeshift-form {
+ border-radius: 8px;
+ background-color: rgba(0, 0, 0, .05);
+ padding: 17px 15px;
&__caret {
width: auto;
flex: 1;
}
-
- @media screen and (max-width: 575px) {
- width: auto;
- }
}
}