Skip to content

Lists on Mobile Have No White Space #116

@BFTrick

Description

@BFTrick

In the regular desktop view unordered & ordered lists within a post look good because they have white space on the side.

regular-blog-post

On mobile they don't have that whitespace. It rests on the very edge of the browser window. We should probably add some CSS for small screens that adds some padding on the left.

blog-post-on-mobile

Could look something like:

.article-content ul, .article-content ol { 
    padding: 0 0 0 40px; 
}

Code sample from my friend Sal Ferrarello.

See it live: https://www.speakinginbytes.com/2017/05/one-feature-missing-from-the-top-50/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions