Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
yii\bootstrap\NavBar add property from full-width maket #1474
I'm so sorry for my bad english))
In last version 'bootstrap' was added class ".container-fluid" for 'full-width' maket, but in class 'yii\bootstrap\NavBar' was no customization 'div' inside 'nav'.
i'm propose to do:
Sorry, i am a bit lost.
2013/12/11 mass3ff3ct email@example.com
Bootstrap 3.0 does not have anymore
Now, for styling the Bootstrap 3 navbar:
<div class="navbar navbar-inverse"> <div class="container"> <!-- remove this for 100% width --> <div class="navbar-header"> ... </div> <div class="navbar-collapse"> ... </div> </div> <!-- remove this for 100% width --> </div>
According to my experiment, I didn't put any container arroundelement, and it is working perfectly, If i wrap it with container-fluid, there is completely no difference at all. And my Bootstrap version is 3.0.1, a very old version. Did they mention why did they Add container-fluid for nav?
PS: i only tried out the static on top type. not other type.
added a commit
Dec 17, 2013
I think it should be used with "container-fluid", see:
So "'renderInnerContainer' => false," just removes a DIV that is needed for correct alignment.