css - Sidenav backdrop not displayed -
i try add sidenav angular/material website. works fine expect backdrop : didn't appear on main page. find code here : https://plnkr.co/edit/dmmz9dmozasfmexwgjsd?p=options (first time using tools, advices welcomed !)
in menu.component.html :
<md-toolbar> <div class="sidenav-button"> <button type="button" md-icon-button (click)="sidenav.toggle()"> <md-icon>reorder</md-icon> </button> </div> </md-toolbar> <md-sidenav-container fullscreen class="sidenav-container"> <md-sidenav #sidenav mode="push" class="sidenav left-nav" opened="false"> <md-nav-list> <a md-list-item> home </a> <a md-list-item> channels </a> </md-nav-list> </md-sidenav> </md-sidenav-container>
i copy/paste example official documentation (https://material.angular.io/components/sidenav/overview) no result..
thanks
Comments
Post a Comment