Skip to content

Add sass for sublists to remove negative top margin causing overlap.#34

Open
jatkinson1000 wants to merge 1 commit intobjacquemet:masterfrom
jatkinson1000:sublist-fix
Open

Add sass for sublists to remove negative top margin causing overlap.#34
jatkinson1000 wants to merge 1 commit intobjacquemet:masterfrom
jatkinson1000:sublist-fix

Conversation

@jatkinson1000
Copy link
Copy Markdown

Closes #33
I have left ul as having the original margin-top of -$margin-blocks/2 as I agree it is more aesthetic.
However, for any nested lists the margin-top is set to 0 to avoid overlap with the last item in the above layer.

e.g. when you have:

List of:

- 1
- 2
- 3
  - a
  - b
  - c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sublists overlap

1 participant