Ordered lists and definition lists will not include spacing between the lead and the first item of the list, or between individual list items. (spacing will be removed as in T168332#3369896)
Examples:
Go to https://en.wikipedia.beta.wmflabs.org/wiki/Earth, and hover over "planet". For the "planet" preview, the spacing between "...stellar remnant that" and "is massive enough..." will be removed
Go to https://en.wikipedia.beta.wmflabs.org/wiki/Category:Page_previews_debug and hover over "definition list"
For the definition list below, remove spacing (padding/margins) between first paragraph and between each list item
Acceptance criteria
- No margins/paddings on lists in previews
- margins/paddings of lists are preserved outside previews.
Testing criteria
Go to https://en.wikipedia.beta.wmflabs.org/wiki/Category:Page_previews_debug and hover over the following items:
- Definition list
- Intro of planet articles
- Ordered list
- List 1
Ensure preview displays list and does not cut off the bottom items of the list