mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-17 19:11:06 +00:00
format search filter for inset lists
This commit is contained in:
parent
6aa7db5fb5
commit
d16c46a6e9
2 changed files with 6 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ $( "[data-role='listview']" ).live( "listviewcreate", function() {
|
|||
.appendTo( wrapper )
|
||||
.textinput();
|
||||
|
||||
if ($(this).data("inset") == true ) {
|
||||
wrapper.addClass("ui-listview-filter-inset");
|
||||
}
|
||||
|
||||
wrapper.insertBefore( list );
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid
|
|||
.ui-listview-filter { border-width: 0; overflow: hidden; margin: -15px -15px 15px -15px }
|
||||
.ui-listview-filter .ui-input-search { margin: 5px; width: auto; display: block; }
|
||||
|
||||
.ui-listview-filter-inset { margin: -15px -5px -15px -5px; background: transparent; }
|
||||
|
||||
/* Odd iPad positioning issue. */
|
||||
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
|
||||
.ui-li .ui-btn-text { overflow: visible; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue