Content behind a larger sub-header

I edited the sub-header style so that instead of having a fixed height, its height is now in auto.
I did this so that it can accommodate all the elements inside it.( Is this ok??)

However, upon doing this, the content is behind my larger sub-header.
In this topic, I think what was done is to override the has-subheader and bar-subheader classes.
Is this ok? Will there be an issue if the app is shown in multiple devices?

Here is a sample code:

<ion-header-bar class="bar-subheader" style="height: auto">
    <div class="button-bar">
        <a class="button">A</a>
        <a class="button">B</a>
        <a class="button">C</a>

<ion-content class="has-header has-subheader padding">
    <div style="font-size: 100px">HI !</div>

Here’s what it looks like: