jQuery mobile: Enable Word Wrap in ListViews

前端 未结 4 754
悲哀的现实
悲哀的现实 2021-01-02 08:31

I have a listview (see photo below) that I would like to word wrap all the contents instead of adding ... to the long lines.

How is this done?

4条回答
  •  梦毁少年i
    2021-01-02 09:11

    Inside the li section add a div with style="white-space:normal;" section which forces word-wrap.

提交回复
热议问题