diff options
| author | Mark Otto <[email protected]> | 2012-08-20 12:16:15 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-20 12:16:15 -0700 |
| commit | 6cf3752b9be2ad4f4804fc974d465e0f897a63df (patch) | |
| tree | c06947887ddf899f2a12fc82f379708590e58b12 | |
| parent | 78cb09b440c8a49d988aecaf2adfec042c43351d (diff) | |
| download | bootstrap-6cf3752b9be2ad4f4804fc974d465e0f897a63df.tar.xz bootstrap-6cf3752b9be2ad4f4804fc974d465e0f897a63df.zip | |
fix ie7 dropdowns examples in docs
| -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 17bfcda6a..f12f2423f 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 ce90be579..828ad7be2 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 c14619c95..8187ce084 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> |
