Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue #4254 #4380

Merged
merged 3 commits into from

3 participants

@ebaranov

Added CSS rule for font-size of .ui-btn-text to prevent inherit font-size from .ui-li-divider, .ui-li-static.
Moved CSS rule for font-size of .ui-btn-text nested inside the list to the appropriate css file to keep a logical order.

ebaranov added some commits
@ebaranov 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
@ebaranov 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
@MauriceG

Hi @ebaranov
I've tested your fix and it works fine.
But for elements with data-mini=true set, the font size is also overridden.

@ebaranov

Thank you @MauriceG , get a look it soon and I'll add additional fixes for data-mini=true

@jaspermdegroot
Collaborator

Thanks for the fix @ebaranov

Tested here http://jsbin.com/ijehit/9/ and looks good, merging.

@jaspermdegroot jaspermdegroot merged commit 81cc987 into from
@ebaranov

Glad to help ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 4, 2012
  1. @ebaranov

    Issue #4254: added CSS rule for font-size of .ui-btn-text to prevent …

    ebaranov authored
    …inherit font-size from .ui-li-divider, .ui-li-static
Commits on May 7, 2012
  1. @ebaranov

    Issue #4254: moved CSS rule for font-size of .ui-btn-text nested insi…

    ebaranov authored
    …de the list to the appropriate css file to keep a logical order
Commits on May 17, 2012
  1. @ebaranov

    Issue #4254: added CSS rule for font-size of .ui-mini form elements (…

    ebaranov authored
    …data-mini="true" attribute)
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  css/structure/jquery.mobile.listview.css
View
3  css/structure/jquery.mobile.listview.css
@@ -5,6 +5,9 @@
.ui-li, .ui-li.ui-field-contain { display: block; margin:0; position: relative; overflow: visible; text-align: left; border-width: 0; border-top-width: 1px; }
.ui-li .ui-btn-text a.ui-link-inherit { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.ui-li-divider, .ui-li-static { padding: .5em 15px; font-size: 14px; font-weight: bold; }
+/* Fixes #4254 to prevent inherit font-size from .ui-li-divider, .ui-li-static */
+.ui-li-divider .ui-btn-text, .ui-li-static .ui-btn-text { font-size: 16px; }
+.ui-li-divider .ui-mini .ui-btn-text, .ui-li-static .ui-mini .ui-btn-text { font-size: inherit; }
.ui-li-divider { counter-reset: listnumbering; }
ol.ui-listview .ui-link-inherit:before, ol.ui-listview .ui-li-static:before, .ui-li-dec { font-size: .8em; display: inline-block; padding-right: .3em; font-weight: normal;counter-increment: listnumbering; content: counter(listnumbering) ". "; }
ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
Something went wrong with that request. Please try again.