Permalink
Browse files

Listview: Provide class ui-li-thumb to position elements other than i…

…mg. Deprecate ui-li-has-icon. Fixes #6321.
  • Loading branch information...
jaspermdegroot committed Aug 12, 2013
1 parent 1524ea1 commit 0479daa0e3d358153a455d5448d395e67d9a1472
Showing with 4 additions and 1 deletion.
  1. +4 −1 css/structure/jquery.mobile.listview.css
@@ -127,6 +127,7 @@
min-height: 3.625em;
padding-left: 6.25em;
}
+/* ui-li-has-icon deprecated in 1.4. TODO: remove in 1.5 */
.ui-listview .ui-li-has-icon > .ui-btn,
.ui-listview .ui-li-static.ui-li-has-icon {
min-height: 1.25em;
@@ -152,13 +153,15 @@
right: 3.636em;
}
.ui-listview .ui-li-has-thumb > img:first-child,
-.ui-listview .ui-li-has-thumb > .ui-btn > img:first-child {
+.ui-listview .ui-li-has-thumb > .ui-btn > img:first-child,
+.ui-listview .ui-li-has-thumb .ui-li-thumb {
position: absolute;
left: 0;
top: 0;
max-height: 5em;
max-width: 5em;
}
+/* ui-li-has-icon deprecated in 1.4. TODO: remove in 1.5 */
.ui-listview .ui-li-has-icon > img:first-child,
.ui-listview .ui-li-has-icon > .ui-btn > img:first-child {
position: absolute;

0 comments on commit 0479daa

Please sign in to comment.