title: Ionic header below notch
body: <p>I have my toolbar under the notch on iPhone x iOS 11 devices, how do I fix this
  <a href="https://i.stack.imgur.com/ihUhO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ihUhO.png" alt="enter image description here"></a></p>
  
  <p>steps taken
  in config.xml</p>
  
  <pre><code>&lt;preference name="StatusBarOverlaysWebView" value="true" /&gt;
  &lt;preference name="StatusBarStyle" value="lightcontent" /&gt;
  </code></pre>
  
  <p>in themes/variabbles.scss</p>
  
  <pre><code>body {
    padding-top: constant(safe-area-inset-top); //for iOS 11.2
    padding-top: env(safe-area-inset-top); //for iOS 11.1
    margin-top: constant(safe-area-inset-top); //for iOS 11.2
    margin-top: env(safe-area-inset-top); //for iOS 11.1
  }
  </code></pre>