From 3d2b4e7f846c65c4cd2301c11f6b3153b66b1b3f Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Tue, 14 Jun 2016 01:35:41 +0200 Subject: [PATCH] [TASK] Improve iphone support --- scss/modules/_map.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scss/modules/_map.scss b/scss/modules/_map.scss index 48d0055..8e917fa 100644 --- a/scss/modules/_map.scss +++ b/scss/modules/_map.scss @@ -28,13 +28,21 @@ width: auto; } - @media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) { + @media all and (device-height: 1024px) and (orientation: portrait) { height: 800px; } - @media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) { + @media all and (device-width: 768px) and (orientation: landscape) { height: 400px; } + + @media only screen and (device-height: 568px) and (orientation: portrait) { + height: 320px; + } + + @media only screen and (device-width: 320px) and (orientation: landscape) { + height: 240px; + } } .stroke-first {