twitter/bootstrap — Issue #1954: Tabs with icon
Author: BenjiZombie
Created: 2012-02-13 19:07:26+00:00
State: open

If you create a tabbable navigation and add an icon to only one tab, the other tab(s) have an incorrect height and thus the bottom border is shown.

The following example illustrates the issue:

http://jsfiddle.net/ZCZev/

A temporary solution is to add

Inside the tab's anchor element and have icon-blank be like:

.icon-blank {
width: 0px;
}