File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 1- < md-sidenav-layout >
1+ < md-sidenav-layout class =" demo-root " >
22 < md-sidenav #start >
33 < md-nav-list >
44 < a md-list-item [routerLink] ="['ButtonDemo'] "> Button</ a >
1717 < a md-list-item [routerLink] ="['SidenavDemo'] "> Sidenav</ a >
1818 < a md-list-item [routerLink] ="['ToolbarDemo'] "> Toolbar</ a >
1919 </ md-nav-list >
20- < button md-raised- button (click) ="start.close() "> CLOSE</ button >
20+ < button md-button (click) ="start.close() "> CLOSE</ button >
2121 </ md-sidenav >
22- < div class =" demo-root " >
22+ < div >
2323
2424 < md-toolbar color ="primary ">
2525 < i class ="material-icons " (click) ="start.open() "> menu</ i >
Original file line number Diff line number Diff line change 11.demo-root {
22 font-family : Roboto, ' Helvetica Neue' , sans-serif ;
3- padding : 20px ;
4- min-height : 1000px ;
3+ position : absolute ;
4+ top : 0 ;
5+ bottom : 0 ;
6+ left : 0 ;
7+ right : 0 ;
58
69 // Helps fonts on OSX looks more consistent with other systems
710 // Isn't currently in button styles due to performance concerns
1013 -moz-osx-font-smoothing : grayscale ;
1114 }
1215
16+ md-sidenav {
17+ width : 15% ;
18+
19+ [md-button ] {
20+ width : 100% ;
21+ position : absolute ;
22+ bottom : 0 ;
23+ margin-bottom : 24px ;
24+ }
25+ }
26+
27+ .demo-content {
28+ padding : 32px ;
29+ }
30+
1331 md-toolbar {
1432 i {
1533 padding : 20px ;
3048 h1 {
3149 font-size : 20px ;
3250 }
33-
3451}
3552
36- .demo-content {
37- padding : 15px ;
38- }
You can’t perform that action at this time.
0 commit comments