Permalink
Browse files

Optimized view for iPhones in landscape mode

  • Loading branch information...
1 parent 346fba5 commit 588cd41610913cf29adffb06062bc7a3c59683f2 @ddemaree committed Nov 6, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 assets/stylesheets/thirty_one.css.scss.erb
@@ -146,6 +146,13 @@ label, input, select, textarea {
width: 200px;
}
}
+ // iPhone in landscape mode
+ // Float the '31' bug to the right to adjust for a landscape iPhone's
+ // tiny-ish viewport height
+ @media only screen and (min-width:321px) and (max-device-width:480px){
+ padding-top: 10px;
+ img { float: right; margin-left: 10px; margin-top: 15px; }
+ }
}
.help-block {

0 comments on commit 588cd41

Please sign in to comment.