stylesheets/html5-boilerplate/_media.scss in html5-boilerplate-0.1.6 vs stylesheets/html5-boilerplate/_media.scss in html5-boilerplate-0.1.7
- old
+ new
@@ -10,11 +10,11 @@
@media all and (orientation:landscape) {
@include media-orientation-landscape;
}
@media screen and (max-device-width: 480px) {
- @include media-mobile(false);
+ @include media-mobile;
}
}
//
// print styles
@@ -58,8 +58,9 @@
// Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
// Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/
@mixin media-mobile($optimize: true) {
// j.mp/textsizeadjust
@if not $optimize {
+ // don't allow iOS and WinMobile to mobile-optimize text
html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
}
}