Skip to content
This repository

selects + buttons inherit wrong font-size in list with form #4254

Closed
MauriceG opened this Issue May 01, 2012 · 6 comments

4 participants

Maurice Gottlieb Jasper de Groot Todd Parker ebaranov
Maurice Gottlieb

At http://jquerymobile.com/test/docs/lists/lists-forms.html the selectmenus and buttons at the end of the listview
look like mini but it seems they're just inherit the font-size of a list-divider (ui-li-divider).

Todd Parker

Good catch. Fee free to do a pull if you can track this down.

ebaranov ebaranov referenced this issue from a commit May 04, 2012
ebaranov Issue #4254: added CSS rule for font-size of .ui-btn-text to prevent …
…inherit font-size from .ui-li-divider, .ui-li-static
c4c2774
Jasper de Groot
Owner
uGoMobi commented May 07, 2012

hi @ebaranov

Nice fix. I just wanted to suggest to put your rule in the listview.css file, not button.css, below the excisting rule for read-only/divider list items:

.ui-li-divider, .ui-li-static { padding: .5em 15px; font-size: 14px; font-weight: bold; }

Not that it won't work otherwise, but just to keep logical order.

ebaranov ebaranov referenced this issue from a commit May 07, 2012
ebaranov Issue #4254: moved CSS rule for font-size of .ui-btn-text nested insi…
…de the list to the appropriate css file to keep a logical order
2f46e50
Jasper de Groot
Owner
uGoMobi commented May 21, 2012

This issue will solve itself when we make the changes to read-only lists including removal of the smaller font-size and padding for 1.2 (#4347). So we only need to cherry-pick the fix into the 1.1 stable branch and then remove again from master.

Jasper de Groot
Owner
uGoMobi commented May 25, 2012

Closing as fixed.

Jasper de Groot uGoMobi closed this May 25, 2012
Maurice Gottlieb

thanks @ebaranov!

ebaranov

You are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.