Skip to content

Commit e41c2e6

Browse files
authored
Merge pull request #20 from Jetinho/patch-1
Fix broken code tags in navbar doc
2 parents fb7617f + 07f618c commit e41c2e6

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

navbar.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@
1717
</p>
1818
<h3 class="header">Right Aligned Links</h3>
1919
<p>
20-
To right align your navbar links, just add a <code class="language-html">right</code> class to your
21-
<code class="language-html">
22-
<xmp><ul></ul></xmp>
23-
</code>
20+
To right align your navbar links, just add a <code class="language-html">right</code> class to the
21+
<code class="language-html">ul</code>
2422
that contains them.
2523
</p>
2624
<nav>
@@ -61,10 +59,8 @@ <h3 class="header">Right Aligned Links</h3>
6159
<div id="left" class="section scrollspy">
6260
<h3 class="header">Left Aligned Links</h3>
6361
<p>
64-
To left align your navbar links, just add a <code class="language-html">left</code> class to your
65-
<code class="language-html">
66-
<xmp><ul></ul></xmp>
67-
</code>
62+
To left align your navbar links, just add a <code class="language-html">left</code> class to the
63+
<code class="language-html">ul</code>
6864
that contains them.
6965
</p>
7066
<nav>
@@ -106,10 +102,10 @@ <h3 class="header">Left Aligned Links</h3>
106102
<h3 class="header">Centering the logo</h3>
107103
<p>
108104
The logo will center itself on medium and down screens, but if you want the logo to always be centered, add the <code class="language-html">center</code> class to
109-
your
105+
your
110106
<code class="language-html">
111-
<xmp><a class="brand-logo"></a></xmp></code
112-
>. You will have to make sure yourself that links do not overlap if you use this.
107+
&lt;a class=&quot;brand-logo&quot;&gt;&lt;/a&gt;
108+
</code>. You will have to make sure yourself that links do not overlap if you use this.
113109
</p>
114110
<nav>
115111
<div class="nav-wrapper">

0 commit comments

Comments
 (0)