Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer. You can expect quick tips, links to interesting tutorials, opinions and packages. Want to learn the cool stuff? Then sign up
Last week Apple introduced their new fancy iPhone X. It’s screen has a top notch that might cause some problems in landscape mode. Stephen Radford explains how to properly handle it.
The new iPhone X features a beautiful edge-to-edge display. Well, almost. There is the small issue of a notch at the top of the browser which doesn’t cause an issue when viewing websites in portrait but by default does cause some issues in landscape.
To accommodate the notch iOS 11 constrains websites within a “safe area” on the screen. On most websites this results in letterboxing on the left and the right.
We’ve already implemented the fix in our Laravel application template.