From a0a6f0d6453a19be5f67341376ea0342b473f3bc Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 9 May 2017 10:59:35 -0300 Subject: [PATCH] Fix padding for different window sizes --- src/sass/views/tab-receive.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/sass/views/tab-receive.scss b/src/sass/views/tab-receive.scss index b4a0d947d..f573744ee 100644 --- a/src/sass/views/tab-receive.scss +++ b/src/sass/views/tab-receive.scss @@ -5,7 +5,17 @@ overflow: auto; height: 100%; &-info { - padding: 12% 0 20% 0; + padding-top: 22vh; + padding-bottom: 17vh; + @media(max-height: 800px) { + padding-top: 17vh; + } + @media(max-height: 700px) { + padding-top: 14vh; + } + @media(max-height: 600px) { + padding-top: 7vh; + } text-align: center; .address-label { margin-top: 5%;