Can anyone help me with aligning input elements with buttons on an Angular Material toolbar?
Check out the code pen: http://codepen.io/curtwagner1984/pen/amgdXj
Here is the HTML code:
<md-toolbar class="md-hue-1" layout-align="start center" style="min-height:15px; height: 50px" ng-show="$ctrl.showSearch">
<div class="md-toolbar-tools">
<md-button ng-click="$ctrl.showSearch = !$ctrl.showSearch">
back
</md-button>
<md-input-container flex="">
<input ng-model="searchInput" placeholder="Search here">
</md-input-container>
<md-input-container>
<md-select ng-model="$ctrl.test">
<md-option value="Option 1 Not Align">Option 1</md-option>
<md-option value="Option 2 Not Align">Option 2</md-option>
</md-select>
</md-input-container>
<md-button ng-click="$ctrl.showSearch = !$ctrl.showSearch">
Search
</md-button>
<md-button ng-click="showListBottomSheet($event)">
settings
</md-button>
</div>
</md-toolbar>
The CSS used is the default Angular Material CSS file. Would appreciate any guidance on achieving alignment in this scenario.
I've also checked out this resource: . However, I couldn't find a suitable solution as the input container in my toolbar remains misaligned.