Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

data-iconpos="notext" #6

Closed
tegansnyder opened this issue May 16, 2012 · 8 comments
Closed

data-iconpos="notext" #6

tegansnyder opened this issue May 16, 2012 · 8 comments
Assignees

Comments

@tegansnyder
Copy link

Adding this to a button appears to place a -10px margin on the icon resulting in a off center icon.

@ghost ghost assigned commadelimited May 17, 2012
@commadelimited
Copy link
Owner

Tegan..were you using original or font awesome icons?

@commadelimited
Copy link
Owner

Never mind. I see that it's only happening in the Font awesome icons.

@commadelimited
Copy link
Owner

This is fixed now Tegan.

@tegansnyder
Copy link
Author

awesome thanks Andy

@seba229
Copy link

seba229 commented Jan 24, 2013

Hey! I just found out that your fix for issue #6 leads to problems with buttons in horizontal control groups:

buttons

If I remove this part from the css file, the icons are shown correctly:

.ui-btn-icon-notext .ui-btn-inner .ui-icon {
margin: 1px 1px 2px 2px !important;
}

@geiregjo
Copy link

I have the same issue that seba229 has. The css selector is not strict enought I think.

@jawa-the-hutt
Copy link

I have the same issue as seba229 and geiregjo. the icons all appear in the lower left corner of the button.

I have just commented out the line in the css file for the time being.

@alirizakeles
Copy link

Yes I have the same. It seems this fix causes new problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants