Skip to content

Commit 7323e89

Browse files
ahyosjelbourn
authored andcommitted
fix(demo-app) move menu icon inside of a button (#434)
1 parent c29b79d commit 7323e89

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/demo-app/demo-app.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
<div>
2424

2525
<md-toolbar color="primary">
26-
<md-icon (click)="start.open()">menu</md-icon>
26+
<button md-icon-button (click)="start.open()">
27+
<md-icon class="md-24" >menu</md-icon>
28+
</button>
2729
<div class="demo-toolbar">
2830
<h1>Angular Material 2 Demos</h1>
2931
<button md-button (click)="root.dir = (root.dir == 'rtl' ? 'ltr' : 'rtl')" title="Toggle between RTL and LTR">

src/demo-app/demo-app.scss

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
md-toolbar {
2727
md-icon {
28-
padding: 20px;
2928
cursor: pointer;
3029
}
3130

0 commit comments

Comments
 (0)