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

Fix legends paddings / margins #2121

Merged
merged 1 commit into from
May 21, 2018
Merged

Fix legends paddings / margins #2121

merged 1 commit into from
May 21, 2018

Conversation

rubenmoya
Copy link
Contributor

Related to: https://github.com/CartoDB/support/issues/1521

This PR changes how the paddings in legends work so perfect-scrollbar doesn't get activated when it shouldn't.

margin-bottom: 12px;
margin-top: 0;

+ .CDB-LayerLegends {
Copy link
Contributor

Choose a reason for hiding this comment

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

The same selector?

Copy link
Contributor Author

@rubenmoya rubenmoya May 18, 2018

Choose a reason for hiding this comment

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

Yes, so it's only applied when there is more than 1 legend

[legend] <- no margin

[legend] [legend] <- margin

@rubenmoya rubenmoya merged commit 767679c into master May 21, 2018
@rubenmoya rubenmoya deleted the support-1521 branch May 21, 2018 08:29
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