Reputation: 15875
To change the height of listView I have used this :
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
padding-top:10px;
padding-bottom:10px;
}
This make every listView height changed.Okay, everything is fine.But it also change the height of the pop-up option list value of select field.
I can add internal CSS to fix it but this needs a lot of page to be proccessed.Now I want to know Is there any way to write better non-overriding CSS for both listview and select menu?
Upvotes: 0
Views: 1786
Reputation: 1880
In order to change the height of the listview while not overriding it:
To replace class
$("p").removeClass(".ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li ").addClass(".whatever .your .class .is");
You have to be detailed and specific.
Upvotes: 1