Skip to content
This repository
Browse code

Merge pull request #4380 from ebaranov/issue_4254

Issue #4254
  • Loading branch information...
commit e582a402ef16d238539ee8e7b4537bc5ef8ca9ad 1 parent 20bbc1a
Jasper de Groot authored May 25, 2012
5  css/structure/jquery.mobile.listview.css
@@ -5,6 +5,9 @@
5 5
 .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; }
6 6
 .ui-li .ui-btn-text a.ui-link-inherit { text-overflow: ellipsis; overflow: hidden; white-space: nowrap;  }
7 7
 .ui-li-divider, .ui-li-static { padding: .5em 15px; font-size: 14px; font-weight: bold;  }
  8
+/* Fixes #4254 to prevent inherit font-size from .ui-li-divider, .ui-li-static */
  9
+.ui-li-divider .ui-btn-text, .ui-li-static .ui-btn-text { font-size: 16px; }
  10
+.ui-li-divider .ui-mini .ui-btn-text, .ui-li-static .ui-mini .ui-btn-text { font-size: inherit; }
8 11
 .ui-li-divider { counter-reset: listnumbering;  }
9 12
 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) ". "; }
10 13
 ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
@@ -48,4 +51,4 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid
48 51
 /* Odd iPad positioning issue. */
49 52
 @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
50 53
     .ui-li .ui-btn-text { overflow:  visible; }
51  
-}
  54
+}

0 notes on commit e582a40

Please sign in to comment.
Something went wrong with that request. Please try again.