line-height on the span will not help you, because the icon is added to the :before pseudo- :before in the <i /> . This pseudo-class will create a somewhat hidden element, if you can call it.
So, if you want to override css:
.icon-check:before { font-size: 2rem; }
Removing the gasket icon can be difficult. Perhaps if you set the span to display: inline-block , you can use height , width in combination with overflow: hidden .
span { border: 1px solid #FF0000; display: inline-block; height: 38px; overflow: hidden; position: relative; width: 45px; } i.icon-check:before { left: 0; position: absolute; top: -4px; }
Demo
source share