-
Notifications
You must be signed in to change notification settings - Fork 123
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
Button Icon is Not Positioned in the center of box? #86
Comments
kurtvon
changed the title
Buttion Icon is Not Positioned in the center of box?
Button Icon is Not Positioned in the center of box?
Dec 19, 2018
I may have solved myself after playing around with the CSS code for easy-button.css. I added the following within .leaflet-bar button section.
Seems to center the icon now. Is there a better approach to this? |
Adjust line-height for / |
in my case: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be an issue with my icons position within the box. It's not centered, rather floating near the upper end of the box (The plus Icon). Anyway I could fix this?
L.easyButton('fa-plus', function(){ window.location.href = "https://adkproject.com/submit"; }).addTo(map);
Please note in the image, the lower box is another plugin used to locate gps and not associated with easybutton.
The text was updated successfully, but these errors were encountered: