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

Top Left Google Maps control is not moving along when sidebar opens and closes #243

Open
jone1joh opened this issue Feb 21, 2021 · 1 comment

Comments

@jone1joh
Copy link

Top left Google Maps control will not move along (aka they will not remain visible if the sidebar is opened).
The following css pattern appears 10 times in gmaps-sidebar.css .
.sidebar-left ~ .sidebar-map .gm-style > div.gmnoprint[style*="left: 0px"] {

changing all 10 similar patterns to

.sidebar-left ~ .sidebar-map .gm-style > div div.gmnoprint[style*="left: 0px"]:first-of-type {

Seems to correct the issue for me.

@jone1joh jone1joh changed the title Google Maps control will not moving along Top Left Google Maps control is not moving along when sidebar opens and closes Feb 21, 2021
@BGCastro89
Copy link

BGCastro89 commented Jun 4, 2021

Having the same issue on the Leaflet map when I added controls for changing the image layer being used

I've yet to find a solution but will try adapting your fix for the Leaflet scss, although I'll need to figure out scss syntax first

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

2 participants