Skip to content

Commit 992ad03

Browse files
authored
Update HTML Line-Wrapping examples
Replaces the examples in the HTML Line-Wrapping recommendation to include child elements.
1 parent 2eb7e16 commit 992ad03

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

htmlcssguide.html

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -451,24 +451,27 @@ <h4 id="HTML_Line-Wrapping" class="numbered">HTML Line-Wrapping</h4>
451451
additional spaces from the original line to distinguish wrapped attributes from
452452
child elements.</p>
453453

454-
<pre><code class="language-html good">&lt;md-progress-circular md-mode="indeterminate" class="md-accent"
455-
ng-show="ctrl.loading" md-diameter="35"&gt;
456-
&lt;/md-progress-circular&gt;
457-
</code></pre>
458-
459-
<pre><code class="language-html good">&lt;md-progress-circular
460-
md-mode="indeterminate"
461-
class="md-accent"
462-
ng-show="ctrl.loading"
463-
md-diameter="35"&gt;
464-
&lt;/md-progress-circular&gt;
465-
</code></pre>
466-
467-
<pre><code class="language-html good">&lt;md-progress-circular md-mode="indeterminate"
468-
class="md-accent"
469-
ng-show="ctrl.loading"
470-
md-diameter="35"&gt;
471-
&lt;/md-progress-circular&gt;
454+
<pre><code class="language-html good">&lt;button mat-icon-button color="primary" class="menu-button"
455+
(click)="openMenu()"&gt;
456+
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
457+
&lt;/button&gt;
458+
</code></pre>
459+
460+
<pre><code class="language-html good">&lt;button
461+
mat-icon-button
462+
color="primary"
463+
class="menu-button"
464+
(click)="openMenu()"&gt;
465+
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
466+
&lt;/button&gt;
467+
</code></pre>
468+
469+
<pre><code class="language-html good">&lt;button mat-icon-button
470+
color="primary"
471+
class="menu-button"
472+
(click)="openMenu()"&gt;
473+
&lt;mat-icon&gt;menu&lt;/mat-icon&gt;
474+
&lt;/button&gt;
472475
</code></pre>
473476

474477
<h4 id="HTML_Quotation_Marks" class="numbered">HTML Quotation Marks</h4>

0 commit comments

Comments
 (0)