From 4124e68e74f85b04881fbd2bb3cfd11d254a6616 Mon Sep 17 00:00:00 2001 From: Jamal Jackson Date: Thu, 13 Oct 2016 14:28:41 -0400 Subject: [PATCH] polish for iPhone5 and iPhone 6 --- src/sass/views/tab-receive.scss | 25 ++++++++++++++++++---- www/views/tab-receive.html | 38 +++++++++++++++++---------------- 2 files changed, 41 insertions(+), 22 deletions(-) diff --git a/src/sass/views/tab-receive.scss b/src/sass/views/tab-receive.scss index eddb75335..8c548e518 100644 --- a/src/sass/views/tab-receive.scss +++ b/src/sass/views/tab-receive.scss @@ -13,7 +13,13 @@ .scroll{height:100%;} #address { background: #fff; - height:70%; + height:80%; + article{height: 100%;position: relative;} + #wallet-info{ + position: absolute; + bottom:0; + width:100%; + } .incomplete { padding: 50px; height: 350px; @@ -44,7 +50,6 @@ display: inline-block; font-size: .7rem; } - &-gen-address {} } .qr { padding: 50px 0 20px 0; @@ -58,6 +63,17 @@ padding: 10px; } } + @media (max-height: 600px){ + &{ + height: 77%; + .qr{ + padding:6.5vh 0 2vh; + div{ + transform: scale(.7); + } + } + } + } } #wallets { position: relative; @@ -68,10 +84,11 @@ height: 0; border-style: solid; border-width: 0 20px 20px 20px; - border-color: transparent transparent #f5f5f5 transparent; + border-color: transparent transparent rgb(242,242,242) transparent; top: -9px; position: absolute; - left: 45%; + left: 50%; + transform: translateX(-50%); } } #first-time-tip { diff --git a/www/views/tab-receive.html b/www/views/tab-receive.html index 02f20c7a4..6f70e0fd1 100644 --- a/www/views/tab-receive.html +++ b/www/views/tab-receive.html @@ -59,26 +59,28 @@ -
-
-
- - Share +
+
+
+
+ + Share +
+
-
-
- - Next Address -
-
-
-
-
-
- - ... - {{addr}} +
+
+
+ + ... + {{addr}} +