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 space around the control? #43

Open
Aureuum opened this issue Mar 27, 2020 · 1 comment
Open

Remove space around the control? #43

Aureuum opened this issue Mar 27, 2020 · 1 comment

Comments

@Aureuum
Copy link

Aureuum commented Mar 27, 2020

Hello,
I have tried all options in the css but the space around the control still persists.
How do you put the control right along the map edge, both bottom/top and left/right?
Thank you.

@Aureuum
Copy link
Author

Aureuum commented Mar 28, 2020

I actually found the solution myself, in Chrome Inspector:

.leaflet-right .leaflet-control { margin-right: 0px; }
.leaflet-bottom .leaflet-control { margin-bottom: 0px; }

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

No branches or pull requests

1 participant