I just replied to a similar post in the Ionic3 section, but I guess it would be a good idea to post the same question here. I’ve been looking around here and in google for an answer, but normally people want to INCREASE the header or toolbar’s height, no reduce it.
I have a header with 2 toolbars, and I am trying to reduce the height of the 2nd toolbar to 24px. This is how it looks normally with the toolbar at its normal size:
Then I applied a class to the ion-toolbar
tag:
.app-header-statusbar {
font-size: 80%;
vertical-align: middle;
max-height: 24px !important;
}
And this is how it looks afterwards:
Toolbar height is affected alright, but the content is not adjusting automatically. Any ideas of how to get the inner elements realign to the new height?
TIA