New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-icon="false" removes icon but leaves icon padding in select menu #4252

Closed
dericcrago opened this Issue May 1, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@dericcrago
Contributor

dericcrago commented May 1, 2012

while adding data-icon="false" removes the icon, it doesn't remove the padding as you can see if you add data-inline="true".

You can however work around this by adding something "unrecognizable" to data-iconpos such as "none" or "blahblahblah" data-icon="false" data-iconpos="none".

jsfiddle

see also #4028

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot May 1, 2012

Member

hi @dericcrago

A fix for this issue is in review.

Member

jaspermdegroot commented May 1, 2012

hi @dericcrago

A fix for this issue is in review.

@mboeckle

This comment has been minimized.

Show comment
Hide comment
@mboeckle

mboeckle Nov 12, 2013

is this still an issue? If I am using a navbar - the icon padding is still there...

<.ul>
<.li><.a href="#" data-href="a" class="ui-btn-active" data-icon="stethoscope">1<./a><./li>
<.li><.a href="#" data-href="b" data-icon="false" data-iconpos="none">2<./a><./li>
<.li><.a href="#" data-href="c" data-icon="false" data-iconpos="none">3<./a><./li>
<./ul>

best

mboeckle commented Nov 12, 2013

is this still an issue? If I am using a navbar - the icon padding is still there...

<.ul>
<.li><.a href="#" data-href="a" class="ui-btn-active" data-icon="stethoscope">1<./a><./li>
<.li><.a href="#" data-href="b" data-icon="false" data-iconpos="none">2<./a><./li>
<.li><.a href="#" data-href="c" data-icon="false" data-iconpos="none">3<./a><./li>
<./ul>

best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment