Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit fd7697d

Browse files
author
Marcy Sutton
committed
fix(material-toolbar): Demo correct heading levels
1 parent 05ed42d commit fd7697d

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

src/components/toolbar/demo1/index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,65 +4,65 @@
44
<material-content>
55

66
<material-toolbar class="material-theme-light">
7-
<h1 class="material-toolbar-tools">
7+
<h2 class="material-toolbar-tools">
88
<span>Toolbar: light-theme (default)</span>
9-
</h1>
9+
</h2>
1010
</material-toolbar>
1111

1212
<br>
1313

1414
<material-toolbar class="material-theme-dark">
15-
<h1 class="material-toolbar-tools">
15+
<h2 class="material-toolbar-tools">
1616
<span>Toolbar: dark-theme</span>
17-
</h1>
17+
</h2>
1818
</material-toolbar>
1919

2020
<br>
2121

2222
<material-toolbar class="material-theme-green material-tall">
23-
<h1 class="material-toolbar-tools">
23+
<h2 class="material-toolbar-tools">
2424
<span>Toolbar: tall</span>
25-
</h1>
25+
</h2>
2626
</material-toolbar>
2727

2828
<br>
2929

3030
<material-toolbar class="material-theme-yellow material-tall">
3131
<span flex></span>
32-
<h1 class="material-toolbar-tools material-toolbar-tools-bottom">
32+
<h2 class="material-toolbar-tools material-toolbar-tools-bottom">
3333
<span class="material-flex">Toolbar: tall with actions pin to the bottom</span>
34-
</h1>
34+
</h2>
3535
</material-toolbar>
3636

3737
<br>
3838

3939
<material-toolbar class="material-theme-orange material-medium-tall">
40-
<h1 class="material-toolbar-tools material-toolbar-tools-top">
40+
<div class="material-toolbar-tools material-toolbar-tools-top">
4141
<material-icon style="width: 24px; height: 24px;">
4242
<svg-icon></svg-icon>
4343
</material-icon>
44-
</h1>
44+
</div>
4545
<span flex></span>
46-
<h1 class="material-toolbar-tools material-toolbar-tools-bottom">
46+
<h2 class="material-toolbar-tools material-toolbar-tools-bottom">
4747
<span>Toolbar: medium tall with label aligns to the bottom</span>
48-
</h1>
48+
</h2>
4949
</material-toolbar>
5050

5151
<br>
5252

5353
<material-toolbar class="material-theme-purple material-tall">
54-
<h1 class="material-toolbar-tools material-toolbar-tools-top">
54+
<div class="material-toolbar-tools material-toolbar-tools-top">
5555
<material-icon style="width: 24px; height: 24px;">
5656
<svg-icon></svg-icon>
5757
</material-icon>
58-
</h1>
59-
<h1 class="material-toolbar-tools" layout-arrange="center center">
58+
</div>
59+
<h2 class="material-toolbar-tools" layout-arrange="center center">
6060
<span>Toolbar: label aligns to the middle</span>
61-
</h1>
61+
</h2>
6262
<span flex></span>
63-
<h1 class="material-toolbar-tools">
63+
<h2 class="material-toolbar-tools">
6464
<div style="font-size: 18px">Some stuff aligns to the bottom</div>
65-
</h1>
65+
</h2>
6666
</material-toolbar>
6767

6868
</material-content>

src/components/toolbar/demo2/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
<material-toolbar scroll-shrink class="material-theme-light">
44
<div class="material-toolbar-tools">
5-
<span>My App Title</span>
5+
<h3>
6+
<span>My App Title</span>
7+
</h3>
68
</div>
79
</material-toolbar>
810

0 commit comments

Comments
 (0)