From d4d992a0da4b168b3c6a30f07c35266239e0a23d Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sat, 13 Aug 2016 20:10:23 -0400 Subject: [PATCH] improve styling for mobile of map list (#605) --- app/assets/stylesheets/mobile.css.erb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/app/assets/stylesheets/mobile.css.erb b/app/assets/stylesheets/mobile.css.erb index 581dfc29..3347d614 100644 --- a/app/assets/stylesheets/mobile.css.erb +++ b/app/assets/stylesheets/mobile.css.erb @@ -69,6 +69,33 @@ width: 100%; padding: 0; } + + #exploreMaps > div { + margin-top: 70px; + } +} + +/* Smartphones (portrait) ----------- */ +@media only screen and (max-width : 320px) { + + .map { + width: 100%; + margin: 0 0 30px 0; + height: auto; + } + + .mapCard { + height: auto; + } + + .mapCard .title { + text-align: left; + } + + .mapCard .mapScreenshot { + display: none; + } + } #mobile_header {