diff options
-rw-r--r-- | docs/assets/css/docs.css | 3 | ||||
-rw-r--r-- | docs/components.html | 4 | ||||
-rw-r--r-- | docs/templates/pages/components.mustache | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 17bfcda6af..f12f2423f2 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -239,6 +239,8 @@ hr.soften { display: inline-block; padding: 5px 8px; line-height: 1; + *display: inline; + *zoom: 1; } /* Subhead (other pages) @@ -560,6 +562,7 @@ h2 + .row { position: relative; margin: 15px 0; padding: 39px 19px 14px; + *padding-top: 19px; background-color: #fff; border: 1px solid #ddd; -webkit-border-radius: 4px; diff --git a/docs/components.html b/docs/components.html index ce90be5790..828ad7be2e 100644 --- a/docs/components.html +++ b/docs/components.html @@ -116,7 +116,7 @@ <p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> - <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> @@ -166,7 +166,7 @@ <p>Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add <code>.dropdown-submenu</code> to any <code>li</code> in an existing dropdown menu for automatic styling.</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> - <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index c14619c95e..8187ce084a 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -45,7 +45,7 @@ <p>{{_i}}Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> - <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li> <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li> <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li> @@ -95,7 +95,7 @@ <p>{{_i}}Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add <code>.dropdown-submenu</code> to any <code>li</code> in an existing dropdown menu for automatic styling.{{/i}}</p> <div class="bs-docs-example"> <div class="dropdown clearfix"> - <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;"> <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li> <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li> <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li> |