Commit 94761c22 authored by fat's avatar fat

use collapse in dropdown js example

parent 296b9d72
...@@ -691,8 +691,6 @@ pre { ...@@ -691,8 +691,6 @@ pre {
line-height: 1.428571429; line-height: 1.428571429;
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5; background-color: #f5f5f5;
border: 1px solid #ccc; border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.15);
...@@ -706,7 +704,6 @@ pre.prettyprint { ...@@ -706,7 +704,6 @@ pre.prettyprint {
pre code { pre code {
padding: 0; padding: 0;
color: inherit; color: inherit;
white-space: pre;
white-space: pre-wrap; white-space: pre-wrap;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
...@@ -1540,7 +1537,7 @@ textarea::-webkit-input-placeholder { ...@@ -1540,7 +1537,7 @@ textarea::-webkit-input-placeholder {
// Move the options list down to align with labels // Move the options list down to align with labels
.controls > .radio:first-child, .controls > .radio:first-child,
.controls > .checkbox:first-child { .controls > .checkbox:first-child {
padding-top: 5px; // has to be padding because margin collaspes padding-top: 5px; // has to be padding because margin collapses
} }
*/ */
......
...@@ -348,6 +348,12 @@ $('#myModal').on('hidden.bs.modal', function () { ...@@ -348,6 +348,12 @@ $('#myModal').on('hidden.bs.modal', function () {
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container" style="width: auto;"> <div class="container" style="width: auto;">
<a class="navbar-brand" href="#">Project Name</a> <a class="navbar-brand" href="#">Project Name</a>
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-js-navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="nav-collapse collapse bs-js-navbar-collapse">
<ul class="nav navbar-nav" role="navigation"> <ul class="nav navbar-nav" role="navigation">
<li class="dropdown"> <li class="dropdown">
<a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a> <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
...@@ -382,6 +388,7 @@ $('#myModal').on('hidden.bs.modal', function () { ...@@ -382,6 +388,7 @@ $('#myModal').on('hidden.bs.modal', function () {
</ul> </ul>
</li> </li>
</ul> </ul>
</ul>
</div> </div>
</div> </div>
</div> <!-- /navbar-example --> </div> <!-- /navbar-example -->
......
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