]> git.saurik.com Git - cydget.git/commitdiff
Update PhotoExample image max-height for iPhone 5.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 22 Mar 2013 07:48:05 +0000 (07:48 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 22 Mar 2013 07:48:05 +0000 (07:48 +0000)
PhotoExample.cydget/index.html

index 4357eb3e4e897c38e2dee6dcd814da1d8a9c1d85..b2cd0962f2cd5073fcc4507dbeb12e989f446525 100644 (file)
         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;