pebblecode / pebblecode.github.io

Jekyll powered pebblecode.com site
5 stars 5 forks source link

Overflow Issue on iOS #107

Closed petertait closed 8 years ago

petertait commented 8 years ago

Page can scroll horizontally on iPhones. This is likely caused by pseudo elements larger than viewport and iOS Safari treats these slightly differently.

Possible solution is a wrapper element that has overflow: hidden but padding to allow the inner pseudo element to still be visible and not be cut off.

petertait commented 8 years ago

Fixed overflow-x issue: https://github.com/pebblecode/pebblecode.github.io/commit/13b5273a3369e8ddf6d60cb8d1365b6f859ed9ee