From 8ebb64d662a40d89984c70276ecda040012eefb9 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Thu, 15 Dec 2016 17:41:08 -0500 Subject: [PATCH] make it look better when its taking up the full screen width --- app/assets/stylesheets/mobile.scss.erb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/assets/stylesheets/mobile.scss.erb b/app/assets/stylesheets/mobile.scss.erb index 8deca0aa..54004dc7 100644 --- a/app/assets/stylesheets/mobile.scss.erb +++ b/app/assets/stylesheets/mobile.scss.erb @@ -18,6 +18,14 @@ width: 390px; } } +/* 800 is the max-width for centerContent */ +@media only screen and (max-width : 800px) { + .centerContent.withPadding { + margin-top: 0; + margin-bottom: 0; + } +} + /* Smartphones (portrait and landscape) ----------- the minimum space that two map cards can fit side by side */ @media only screen and (max-width : 504px) {