diff --git a/less/font-awesome.less b/less/font-awesome.less index 5223931d7..d88172892 100644 --- a/less/font-awesome.less +++ b/less/font-awesome.less @@ -64,6 +64,11 @@ a [class*=" icon-"] { font-size: 4/3em; } +.icon-large{ + /* 1.5 increased font size for icon-large * 1.25 width */ + width: 1.5*1.25em; +} + .btn, .nav-tabs { [class^="icon-"], [class*=" icon-"] { @@ -77,12 +82,11 @@ li { [class*=" icon-"] { display: inline-block; width: 1.25em; - text-align: center; + vertical-align: baseline; } - .icon-large:before, .icon-large:before { - /* 1.5 increased font size for icon-large * 1.25 width */ - width: 1.5*1.25em; + vertical-align: middle; + } } } @@ -96,7 +100,6 @@ ul.icons { [class*=" icon-"] { width: .8em; } - .icon-large:before, .icon-large:before { /* 1.5 increased font size for icon-large * 1.25 width */ vertical-align: initial;