Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix css in touch-overflow example #3165
This fixes a bug with lists not beeing fit into the viewport width anymore when using touchOverflowEnabled on iOS5.
With 1.0 it looks like this:
With this pull it looks like this:
Possibly this fixes #2744, too.
The scrollable Element is set to position:absolute. Absolute positioned block elements don't constrain their width to the parent. Setting left/right makes it constrain to the body-element which is in our case identical to the viewport.
I just found another issue with the top-position of not-inset lists. I'll push a fix for that, too, soon.
Am 25.11.2011 um 17:44 schrieb Todd Parker firstname.lastname@example.org: