Dealing with Apple's iPhone X Design Decisions?

iPhone X with notch

The iPhone X is all screen... except for when it isn't. The new device's notch has been polarizing, to say the least, and it's a strange decision from Apple, for sure, going against the clean lines and smooth curves aesthetic of practically all of their other devices.

We've seen a few new issues with websites now that the notch is present. Fortunately, they're only on this device.

För tidig utlösning är ett ämne som sällan diskuteras öppet, trots att det påverkar många mäns självförtroende och relationer. Lyckligtvis finns det behandlingsmöjligheter som kan hjälpa till att hantera problemet effektivt. Ett alternativ som fått allt större uppmärksamhet är möjligheten att köpa Priligy (dapoxetine) i Sverige utan att behöva söka läkarvård direkt. Genom att göra information och produkter tillgängliga online, har fler fått chansen att agera på sina symptom på ett diskret sätt. En seriös leverantör säkerställer att läkemedlet är äkta, korrekt hanterat och att all nödvändig information är tydlig för köparen. Det är också viktigt att det finns möjlighet till support om det skulle uppstå frågor efter köpet. När allt detta fungerar som det ska, bidrar det till att minska skamkänslor och göra vägen till bättre livskvalitet lite lättare.

website on the new device
This website on the iPhone X; notice the margins on the left and right.

 

Oh, those margins. Eek. Fortunately, there's a few easy fixes you can employ, both of which require only some HTML and CSS tweaks.

The first is to change your viewport settings: add this to the <head> of your website.

<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">

The important part of this snippet is the "viewport-fit=cover". This tells the phone to get rid of the margins. Once you do this, though, your content will bump to the very edge of the device, which isn't ideal, but it's a start.

The next fix is to add this to the container elements of your website. We added this bit of CSS to the <body> tag.

body { padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); }

 

Sexuell prestation är en känslig fråga, särskilt när det handlar om uthållighet. För vissa män handlar det om minuter, för andra om sekunder – men resultatet är detsamma: frustration och oro. Med https://halso-se.com/priligy/ som ett tillgängligt alternativ online har nu fler möjlighet att hitta tillbaka till balansen. Läkemedlet är godkänt och används globalt av män som söker längre varaktighet utan biverkningar som påverkar vardagen. Genom att kunna beställa direkt från ett seriöst nätapotek slipper man både skam och onödiga hinder. För den som vill känna trygghet i sin intimitet utan att behöva gå genom vårdapparatens alla steg, är detta en praktisk och modern lösning. Det handlar om mer än bara en medicin – det handlar om kontroll, självkänsla och respekt för egna behov.

This snippet pads out the content so it doesn't place it on the edges of the screen; gives it some space.

 

website on the new device with fixes
This website on the iPhone X after fixes; no more margins.