Android rotation fixes.
Android browser doesn't do max-device-width. And in fact it seems max-width is to be preferred anyway. Second, stock Android browser needs a bug workaround orientation setting present to force recalculation. Android Chrome still has problems.
This commit is contained in:
parent
6c79f22ee3
commit
9112acfc9a
|
@ -382,7 +382,7 @@ div.dottes-history-yes
|
|||
margin-top: 20px
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
@media only screen and (max-width: 480px) {
|
||||
div.dottes-tune-footer
|
||||
{
|
||||
}
|
||||
|
@ -466,3 +466,11 @@ div.dottes-history-yes
|
|||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Stock Android browser needs this to force reconsideration of max-width
|
||||
* on an orientation change. Still doesn't help Android Chrome.
|
||||
*/
|
||||
@media screen and (orientation: landscape){
|
||||
.doesnt-exist { background:red; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue