molovo / browserWrapper

browserWrapper plugin, by @molovo
21 stars 3 forks source link

Overflow fails on iOS/Safari #3

Closed japborst closed 9 years ago

japborst commented 11 years ago

Found that overflow shows on an iPad/Safari and likely on iPhone then too. Best to see on the website with the BBC website.

molovo commented 11 years ago

Ugh, I've hit this one before. It's a bug in iOS Webkit that occurs when you use height: 0; padding-bottom: n%. Happens in both Safari and Chrome.

I first hit it when I was making The Branch, never managed to find a way around it, that's why the youtube embeds just have height: auto; set at mobile sizes. I'll take another look though

japborst commented 11 years ago

Ah, it was that bug! Will look into it tomorrow for a possible workaround. On 4 May 2013 22:09, "molovo" notifications@github.com wrote:

Ugh, I've hit this one before. It's a bug in iOS Webkit that occurs when you use height: 0; padding-bottom: n%. Happens in both Safari and Chrome.

I first hit it when I was making The Branch, never managed to find a way around it, that's why the youtube embeds just have height: auto; set at mobile sizes. I'll take another look though

— Reply to this email directly or view it on GitHubhttps://github.com/molovo/browserWrapper/issues/3#issuecomment-17440691 .