aboutsummaryrefslogtreecommitdiff
path: root/less/tests/css-tests.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-27 12:05:15 -0700
committerMark Otto <[email protected]>2012-08-27 12:05:15 -0700
commit22c4f3d058412eff54642319ad345b48f64e050e (patch)
tree02915e16e15a7f7cfa172e3738693c118954db8c /less/tests/css-tests.html
parent15317419f4900caf63cb61c4005d67064ba4b63f (diff)
downloadbootstrap-22c4f3d058412eff54642319ad345b48f64e050e.tar.xz
bootstrap-22c4f3d058412eff54642319ad345b48f64e050e.zip
fixes #4718: add vertical-align: middle; to .btn-group to ensure proper alignment next to standard .btn
Diffstat (limited to 'less/tests/css-tests.html')
-rw-r--r--less/tests/css-tests.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html
index c922f07db..1ab21f1bf 100644
--- a/less/tests/css-tests.html
+++ b/less/tests/css-tests.html
@@ -597,6 +597,23 @@
<h1>Forms</h1>
</div>
+<h4>Buttons and button groups</h4>
+<form class="form-inline">
+ <button class="btn btn-success">Save</button>
+ <button class="btn btn-info">Add new</button>
+ <div class="btn-group">
+ <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+ <i class="icon-user"></i> User
+ <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Profile</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Sign Out</a></li>
+ </ul>
+ </div>
+</form>
+
<h4>Horizontal form errors</h4>
<form class="form-horizontal">
<div class="control-group error">