简体   繁体   中英

jQuery Mobile Listview Long Item

Im using jQuery Mobile listview with data-inset="true"`

<ul data-role="listview" data-inset="true" data-theme="e">
    <li><h3> ... long string ... </h3></li>
</ul>

If the item was too long, the string was truncated. Is there other way or best approach to display the whole long string?

Working example: http://jsfiddle.net/Gajotres/BxfhV/

ul li .ui-li-heading {
    white-space: normal !important;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM