javascript - In jQuery Mobile, how do I stop list items being cut off with ellipses? -


i have list:

<ul id="linkslist"     data-role="listview"     data-inset="true"     data-filter="true">     <!-- dynamic contents! --> </ul> 

it gets data local xml file (rss feed). want titles either wrap down or show more of title within buttons, have 2 thirds of button left fill text.

screenshot link

thank help!

you need override jquery mobile default of showing ellipsis elements want have wrap:

overflow:hidden; text-overflow:ellipsis; white-space: nowrap; 

becomes:

overflow: visible; text-overflow: clip; white-space: normal; 

i recommend doing on as-needed basis using own classes rather modifying base code.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -