# Header component is not responsive in ionic4 iphonex

**URL:** <https://forum.ionicframework.com/t/header-component-is-not-responsive-in-ionic4-iphonex/171444>\
**Category:** Ionic Framework\
**Created:** [August 20, 2019, 4:44am UTC](https://forum.ionicframework.com/t/header-component-is-not-responsive-in-ionic4-iphonex/171444 "2019-08-20T04:44:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surumulluprudhviraj](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@surumulluprudhviraj](https://forum.ionicframework.com/u/surumulluprudhviraj)\
**Post date:** [August 20, 2019, 4:44am UTC](https://forum.ionicframework.com/t/header-component-is-not-responsive-in-ionic4-iphonex/171444/1 "2019-08-20T04:44:59Z")

</div>

I created header component and in the components folder and kept that component in pages click is not responsive in iphonex i have tried by keeping ion-header ion-toolbar:first-child {  
padding-top: calc(env(safe-area-inset-top,) + var(–ion-statusbar-padding))  
}

These css stylings

---

<div class="post-metadata">

**Author:** ![gokujy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gokujy/32/117753_2.png) [@gokujy](https://forum.ionicframework.com/u/gokujy)\
**Post date:** [August 20, 2019, 5:56am UTC](https://forum.ionicframework.com/t/header-component-is-not-responsive-in-ionic4-iphonex/171444/2 "2019-08-20T05:56:35Z")

</div>

In other device working fine?

---

<div class="post-metadata">

**Author:** ![surumulluprudhviraj](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@surumulluprudhviraj](https://forum.ionicframework.com/u/surumulluprudhviraj)\
**Post date:** [August 20, 2019, 5:58am UTC](https://forum.ionicframework.com/t/header-component-is-not-responsive-in-ionic4-iphonex/171444/3 "2019-08-20T05:58:13Z")

</div>

in other devices it is working fine both ios and android except iphonex versions
