]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Improve buttons in navbars
authorMark Otto <otto@github.com>
Fri, 3 May 2013 06:05:09 +0000 (23:05 -0700)
committerMark Otto <otto@github.com>
Fri, 3 May 2013 06:05:09 +0000 (23:05 -0700)
commit94792b9dae3800e739e0036d45a276c3127b103d
treef339e32b3fe681d253bd158bd21e3a437891bba5
parent23ae6405f504a2627e1c1e8d856564fd8065dfe3
Improve buttons in navbars

* Add top margin, calculated by subtracting height of an input from height of a navbar, and dividing by two
* Uses the same method as .navbar-form
* To use, add .navbar-btn to any button outside a form element
* Also add section to docs detailing buttons in navbars, and add more ids for the other unlinked and unmentioned sections in the side nav
docs/_includes/docs-nav.html
docs/docs.html
less/navbar.less