Styling jquery mobile listviews

后端 未结 1 1390
我寻月下人不归
我寻月下人不归 2021-02-03 12:29

im trying to style a listview control but im having problems... when i set width of image to 40px as shown in markup. i cant seem to get the content to align properly to the lef

相关标签:
1条回答
  • 2021-02-03 13:07

    Add a CSS file after you include the jQuery mobile CSS and overwrite the style

    .ui-li-has-thumb .ui-btn-inner {
        min-height: 60px;
        padding-left: 100px;
    }
    

    with your preferred padding, e.g.

    .ui-li-has-thumb .ui-btn-inner {
        min-height: 60px;
        padding-left: 60px;
    }
    
    0 讨论(0)
提交回复
热议问题