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

Lists icons styles allow too big icon dimensions so icon doesn't fit the list item. #4489

Closed
polarfish opened this Issue Jun 5, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@polarfish

polarfish commented Jun 5, 2012

When you try to create lists with icons like on the doc page http://jquerymobile.com/demos/1.1.0/docs/lists/lists-icons.html and use big icon (let it be this one ), you receive next result.

It's because of next style set:

.ui-listview .ui-li-icon {
  max-height: 40px;
  max-width: 40px;
  left: 10px;
  top: .9em;
}

I suppose max-height and max-width should be both 16px, or smth like that to let user use any image file as an icon without styling it.

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Jun 5, 2012

Member

@polarfish - You are right. In next release (1.1.1) it will be changed into max 16px.

Member

jaspermdegroot commented Jun 5, 2012

@polarfish - You are right. In next release (1.1.1) it will be changed into max 16px.

@ghost ghost assigned jaspermdegroot Jun 5, 2012

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Jun 5, 2012

Contributor

Wouldn't the thumbnail be a better choice for an image like that?

Contributor

toddparker commented Jun 5, 2012

Wouldn't the thumbnail be a better choice for an image like that?

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