jQuery mobile: Enable Word Wrap in ListViews

前端 未结 4 735
悲哀的现实
悲哀的现实 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条回答
  •  孤街浪徒
    2021-01-02 09:12

    In jQuery mobile 1.4.4 this worked:

    .ui-listview > li p {
      white-space: normal;
    }
    

提交回复
热议问题