Permalink
Browse files

makes media queries more mobile specific, thanks to johnnycadelco fixes

  • Loading branch information...
1 parent b78b32b commit cdc7f3a8b27b382754f639ca4500d7682843aa17 @shichuan shichuan committed Mar 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 css/style.css
View
4 css/style.css
@@ -217,12 +217,12 @@ textarea.contenteditable {-webkit-appearance: none;}
}
/* Smartphones (landscape) ----------- */
-@media only screen and (min-width : 321px) {
+@media only screen and (min-width : 321px) and (max-device-width: 480px) {
/* Styles */
}
/* Smartphones (portrait) ----------- */
-@media only screen and (max-width : 320px) {
+@media only screen and (max-width : 320px) and (max-device-width: 320px) {
/* Styles */
}

0 comments on commit cdc7f3a

Please sign in to comment.