diff options
| -rw-r--r-- | less/mixins.less | 2 | ||||
| -rw-r--r-- | less/tests/css-tests.html | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/less/mixins.less b/less/mixins.less index 73e6ade56..22666b21c 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -546,7 +546,7 @@ .offsetX (0) {} .offset (@columns) { - margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2); + margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns + 1)); } .span (@columns) { diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html index 8dad598c9..58e25be61 100644 --- a/less/tests/css-tests.html +++ b/less/tests/css-tests.html @@ -374,6 +374,19 @@ </ul> </li> </ul> + +<h4>Dropdown on a button</h4> +<div style="position: relative;"> + <button class="btn" type="button" data-toggle="dropdown">Dropdown <span class="caret"></span></button> + <ul class="dropdown-menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> +</div> + <br> @@ -445,6 +458,7 @@ </div> + <!-- Tabs ================================================== --> @@ -491,6 +505,8 @@ + + <!-- Footer ================================================== --> <footer class="footer"> |
