1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 19:16:47 -05:00
notes/docs/tests/styling/ol.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.5 KiB

layout title parent grand_parent
default Ordered lists Styling Tests

Ordered lists

The first child element of each li element in an ol list should be aligned with the preceding label in the following examples.

  1. paragraph text

    paragraph text

  2. Header

    paragraph text

  3. block quote

    paragraph text

  4. fenced code block
    

    paragraph text

    • unordered list item
    • unordered list item

    paragraph text

    1. ordered list item
    2. ordered list item

    paragraph text

  5. term
    description
    term
    description

    paragraph text

  6. |-----------------+------------+-----------------+----------------|

    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


  7. paragraph text