1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-26 15:05:29 +00:00
notes/docs/tests/styling/ul.md
PLanCompS 59f757a790 Fix list alignment
Resolve #420

- Remove `margin-top` for the first child in various list items, to improve alignment.
- Add examples of lists to `docs/tests/styling`.
2020-09-29 17:13:13 +02:00

1.4 KiB

layout title parent grand_parent
default Unordered lists Styling Tests

Unordered lists

The first child element of each li element in a ul list should be aligned with the preceding bullet in the following examples.

  • paragraph text

    paragraph text

  • Header

    paragraph text

  • block quote

    paragraph text

  • fenced code block
    

    paragraph text

    • unordered list item
    • unordered list item

    paragraph text

    1. ordered list item
    2. ordered list item

    paragraph text

  • term
    description
    term
    description

    paragraph text

  • |-----------------+------------+-----------------+----------------|

    Default aligned Left aligned Center aligned Right aligned
    First body part Second cell Third cell fourth cell
    Second line foo strong baz
    Third line quux baz bar
    -----------------+------------+-----------------+----------------
    Second body
    2 line
    =================+============+=================+================
    Footer row
    -----------------+------------+-----------------+----------------

    paragraph text


  • paragraph text