jquery/jquery-mobile — Issue #3284: button with icon and no text
Author: pehrlich
Created: 2011-12-16 00:29:44+00:00
State: open

Generates this markup:

This appears as a rectangular button -- extra padding on the right with the empty span. The span can't simply be removed, because the button looses its height.

Here's my hack for the time being:

.ui-btn.notext .ui-btn-inner{
padding-right: 0;
margin-right: -5px; /* not a perfect soltiuon, leaves border along top */
}