How To Fix The White Bars In Safari On iPhone X
TL;DR: <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
Thanks to Stephen Radford for his original posst: https://stephenradford.me/removing-the-white-bars-in-safari-on-iphone-x/
For me it was simply a case of adding viewport-fit=cover
to my <meta name="viewport" content="
.
Before:
After:
Browse by category:
- apple1
- bash1
- browser1
- case study4
- chrome2
- chrome dev tools4
- clojure overtone2
- conference2
- css2
- dev tips1
- digihike1
- dotfiles2
- event4
- ffconf1
- freelance6
- gaming2
- health3
- hexo1
- https1
- jank1
- javascript1
- jobs1
- lego1
- mcrfred107
- nux1
- octopress4
- photography2
- raspberry pi1
- responsive web design1
- sass1
- screencast1
- speaking2
- svg4
- unplugged6
- upfrontconf1
- web development2
- webgl1
- wordpress17
- work51
- workflow16