Closed Bug 932842 Opened 11 years ago Closed 11 years ago

UL margin-bottom in articles is too big in nested lists

Categories

(developer.mozilla.org Graveyard :: Design, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wbamberg, Unassigned)

Details

Attachments

(1 file)

Attached image nested list.png
Caveat: this might just be me.

When you have a list, and in the middle of it you have another list nested inside it, then there's a big gap between the bottom of the nested list and the next item in the outer list (UL gets margin-bottom of 24px, plus the LI's padding-bottom of 12px). The gap makes it look as if items after the nested list are in a different list entirely.

I've attached a screenshot from https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Reflow_events to illustrate. 

I'm not sure if the gap is too big in other cases too, I just noticed this one.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/3a027faf68b3bea131bc4f133287c0e5fe6b06ab
fix bug 932842 - Make nested list spacing consistent

https://github.com/mozilla/kuma/commit/bc0cf017ff52e47deaec2ffa9b1133b9c361c9a7
Merge pull request #1564 from darkwing/list-spacing-932842

fix bug 932842 - Make nested list spacing consistent
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: