I am attempting to replicate the sidebar layout seen on https://material.angularjs.org/latest/#/. I have extracted some code from the HTML source. The issue I am facing is that the links (which act as buttons) do not span the full width (FOOBAR is being hovered):
https://i.sstatic.net/McroA.png
When I hover over the sidebar on the angularmaterial website, the link spans the full width of the navbar (Autocomplete is being hovered):
https://i.sstatic.net/NhLLW.png
Below is the code snippet I am using:
<div ng-controller="SidebarCtrl" layout="column" flex>
<md-sidenav class="md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="$mdMedia('gt-md')" flex>
<ul class="side-menu">
<li ng-repeat="item in menu">
<a class="md-button" ng-class="{'active' : isSelected()}">
<span class="ng-binding ng-scope">
{{item.label}}
</span>
</a>
</li>
</ul>
</md-sidenav>
</div>
I have not applied any custom CSS (only using the provided material-design styles).
Appreciate your assistance. Thank you.