Browse files

Listview: Adjusted min-height of list item with thumbnail.

Min-height and padding together are 81px, resulting in 1px space between thumb and bottom. Same as 1px left offset and the 1px border-top of ui-btn-inner.
  • Loading branch information...
1 parent ffb6517 commit 8883dfb1c66ca47ccb6854c13deaec47d1c1a22d @jaspermdegroot jaspermdegroot committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 css/structure/jquery.mobile.listview.css
View
2 css/structure/jquery.mobile.listview.css
@@ -51,7 +51,7 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid
}
.ui-li>.ui-btn-inner { display: block; position: relative; padding: 0; }
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li { padding: .7em 15px; display: block; }
-.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb { min-height: 60px; padding-left: 100px; }
+.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb { min-height: 59px; padding-left: 100px; }
.ui-li-has-icon .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-icon { min-height: 20px; padding-left: 40px; }
.ui-li-has-count .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-count, .ui-li-divider.ui-li-has-count { padding-right: 45px; }
.ui-li-has-arrow .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-arrow { padding-right: 40px; }

0 comments on commit 8883dfb

Please sign in to comment.