Skip to content

Commit

Permalink
fix(demos): Fix misaligned title in Typography Demo (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidx authored and traviskaufman committed May 18, 2017
1 parent c342724 commit d529094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
<span class="catalog-logo">
<img src="/images/ic_component_24px_white.svg">
</span>
<!--<a href="#" class="material-icons">menu</a>-->
<span class="mdc-toolbar__title catalog-title">Material Components Catalog</span>
</section>
</div>
Expand Down
7 changes: 2 additions & 5 deletions demos/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
padding: 24px;
border: 1px solid #ddd;
}
.demo-typography--section h2 {
margin-left: 0;
}
</style>
</head>
<body>
Expand All @@ -52,8 +49,8 @@
<h2 class="mdc-typography--display4">Tt</h2>
</section>

<h2 class="mdc-typography--display1">Styles</h2>
<section class="demo-typography--section mdc-typography">
<h2 class="mdc-typography--display1">Styles</h2>
<h1 class="mdc-typography--display4">Display 4</h1>
<h1 class="mdc-typography--display3">Display 3</h1>
<h1 class="mdc-typography--display2">Display 2</h1>
Expand All @@ -71,8 +68,8 @@ <h4 class="mdc-typography--subheading1">Subheading 1</h4>
<aside class="mdc-typography--body2">Body 2 text, calling something out.</aside>
</section>

<h2 class="mdc-typography--display1">Styles with margin adjustments</h2>
<section class="demo-typography--section mdc-typography">
<h2 class="mdc-typography--display1">Styles with margin adjustments</h2>
<h1 class="mdc-typography--display4 mdc-typography--adjust-margin">Display 4</h1>
<h1 class="mdc-typography--display3 mdc-typography--adjust-margin">Display 3</h1>
<h1 class="mdc-typography--display2 mdc-typography--adjust-margin">Display 2</h1>
Expand Down

0 comments on commit d529094

Please sign in to comment.