On a specific page I need a “+” icon on the left corner of the navbar generally where the back button appears when there is a previous page in the nav stack. I added an icon on the left edge with this code:
The icon “+” appears, but exactly at the same place back button would appear, it is more to left as compared to the menu button on the right it has a good space from its edge.
The “+” button is on inside the toolbar-content but menu is out of it. I have both the ion-buttons element inside of ion-navbar still the button on the left somehow is pushed inside of toolbar-content container
How do I make sure that a button on the left is position in the DOM exactly like the button on the right so the padding / margin and any spacing is consistent.
Running it in iOS platform works as expected, the buttons stays on the start with the start attribute, doesn’t work on MD.
The only modification I made was centering the text for the title in MD, but even after removing that specific style the button doesn’t stay on the left with start
This is something Ionic adds, removing the flex-order properties pulls the start buttons to the left. Any idea what SCSS variables I need to work on to change the order of buttons?
I needed the iOS default since it works as expected on iOS, so copied the value of $toolbar-order-ios and put it on $toolbar-order-md and it now works!
The issue of non-consistent widths of the bar buttons I found that menuToggle and back-buttons has CSS properties for that, for which there isn’t any variables as far as I researched so I am now