Link styled as Button in Navbar is too big
Created by: 1st
Hello!
When I insert <button>
to navbar-nav
- all works fine. But when I try to insert <a class="btn btn-default navbar-btn">
- I see too big button.
Please fix this bug in the next release of the best web UI framework!
<!-- Fixed navbar -->
<header class="navbar navbar-default navbar-fixed-top" role="banner">
<!-- <div class="navbar navbar-default navbar-fixed-top"> -->
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".top_menu.navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">SITE.com</a>
</div>
<div class="top_menu collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a class="btn btn-success navbar-btn">Sign in 2</a></li>
<li><a href="/register">Registration</a></li>
<li><button type="button" class="btn btn-success navbar-btn">Sign in</button></li>
</ul>
</div><!--/.nav-collapse -->
</div>
<!-- </div> -->
</header>
Sign in
- looks good.
Sign in 2
- looks bad :-(
Thanks. Anton