Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better li element margins #358

Merged
merged 1 commit into from
Aug 27, 2020
Merged

Add better li element margins #358

merged 1 commit into from
Aug 27, 2020

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Aug 27, 2020

Problem

Margins on list items are added on top and bottom so that if a list is the last item in a container it creates unwanted space.

Solution

This PR applies margins to list items so that they no longer produce a margins side-effect causing unwanted space when placed as the first or last element of a container.

Fixes #357

@sebnitu sebnitu merged commit 83336e3 into master Aug 27, 2020
@sebnitu sebnitu deleted the fix-list-base branch August 27, 2020 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix list item margins to not cause extra space when at bottom of container
1 participant