I try to make some buttons text hidden to make them smaller for xs screen size.
<button class="btn navbar-btn btn-primary">
<i class="fa fa-font"></i>
<span class="hidden-xs">Add Text</span>
</button>
There is no problem with element hiding but now span makes my button 2 rows. Is there any way to solve this problem.
Or is there any better approach to hide button texts in bootstrap?

For the ones who still has the same problem
If you are using bootstrap 3: http://getbootstrap.com/css/#responsive-utilities
<button class="btn navbar-btn btn-primary">
<i class="icon-picture"></i>
<span class="visible-sm-inline visible-md-inline visible-lg-inline">Add Image</span>
</button>
If you are using bootstrap 4: http://v4-alpha.getbootstrap.com/migration/#responsive-utilities
<button class="btn navbar-btn btn-primary">
<i class="icon-picture"></i>
<span class="hidden-xs-down">Add Image</span>
</button>