Skip to content

Commit 59d0397

Browse files
author
Emmanuel Garcia
committed
Use the .warning selector for the distribution point
1 parent d8cae92 commit 59d0397

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

iron-component-page.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
Loads Polymer element and behavior documentation using
2525
[Hydrolysis](https://github.com/PolymerLabs/hydrolysis) and renders a complete
2626
documentation page including demos (if available).
27+
28+
To display a warning inside an `iron-component-page` element,
29+
add the `.warning` class to a child.
2730
-->
2831

2932
<dom-module id="iron-component-page">
@@ -226,7 +229,7 @@
226229
<div id="catalog-heading" catalog-only>
227230
<h2><span>[[active]]</span> <span class="version" hidden$="[[!version]]">[[version]]</span></h2>
228231
</div>
229-
<content></content>
232+
<content select=".warning"></content>
230233
<iron-doc-viewer prefix="[[_fragmentPrefix]]" id="viewer" descriptor="{{_activeDescriptor}}"
231234
on-iron-doc-viewer-component-selected="_handleComponentSelectedEvent"></iron-doc-viewer>
232235
<div id="nodocs" hidden$="[[_activeDescriptor]]" class="no-docs">

0 commit comments

Comments
 (0)