From 1ab860bb0adddbfb44e3c8b40ca796bdef1080dd Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 22 Mar 2013 07:48:05 +0000 Subject: [PATCH] Update PhotoExample image max-height for iPhone 5. --- PhotoExample.cydget/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PhotoExample.cydget/index.html b/PhotoExample.cydget/index.html index 4357eb3..b2cd096 100644 --- a/PhotoExample.cydget/index.html +++ b/PhotoExample.cydget/index.html @@ -130,12 +130,18 @@ vertical-align:middle; } - @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (device-height: 480px) { #content img { max-height: 268px; } } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (device-height: 568px) { + #content img { + max-height: 356px; + } + } + @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { #content img { max-height: 556px; -- 2.45.2