Commit 61e29c44 authored by Brett O'Donnell's avatar Brett O'Donnell

update example to use navbar-nav class

if you try to render the nav without this class it renders each item on its own line.  this change means they are rendered inline as expected.
parent 0396fafd
...@@ -27,6 +27,7 @@ use yii\helpers\ArrayHelper; ...@@ -27,6 +27,7 @@ use yii\helpers\ArrayHelper;
* ['label' => 'Home', 'url' => ['/site/index']], * ['label' => 'Home', 'url' => ['/site/index']],
* ['label' => 'About', 'url' => ['/site/about']], * ['label' => 'About', 'url' => ['/site/about']],
* ], * ],
* 'options' => ['class' => 'navbar-nav'],
* ]); * ]);
* NavBar::end(); * NavBar::end();
* ``` * ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment