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

Remove unnecessary right margin from last level-item (level.is-mobile) #2059

Merged
merged 1 commit into from
Oct 7, 2018
Merged

Remove unnecessary right margin from last level-item (level.is-mobile) #2059

merged 1 commit into from
Oct 7, 2018

Conversation

ciscorn
Copy link
Contributor

@ciscorn ciscorn commented Aug 19, 2018

This is a bugfix.

In a mobile level (level.is-mobile), the last level-item has unnecessary right-margin:

2018-08-19 18 15 40

Proposed solution

Just wrap with &:not(:last-child)

Tradeoffs

None

Testing Done

I tested with my webapp. It looks good.

@ciscorn ciscorn changed the title Remove right margin from last level-item (is-mobile) Remove right margin from last level-item (level.is-mobile) Aug 19, 2018
Copy link
Owner

@jgthms jgthms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can merge it with the other “&:not(:last-child)”.

@ciscorn
Copy link
Contributor Author

ciscorn commented Aug 19, 2018

@jgthms Sorry, I've updated my PR.

@ciscorn ciscorn changed the title Remove right margin from last level-item (level.is-mobile) Remove unnecessary right margin from last last level-item (level.is-mobile) Sep 23, 2018
@ciscorn ciscorn changed the title Remove unnecessary right margin from last last level-item (level.is-mobile) Remove unnecessary right margin from last level-item (level.is-mobile) Sep 23, 2018
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.

2 participants