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

Issue with Google Map marker info windows caused by border-style: solid; on * #484

Closed
richardwiggins opened this issue Jun 7, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@richardwiggins
Copy link

commented Jun 7, 2018

There looks to be an issue with #116 that causes a gap with Google Map markers. I removed this and the gap disappeared.

screen shot 2018-06-07 at 08 48 01

@adamwathan

This comment has been minimized.

Copy link
Member

commented Jun 8, 2018

The fix here is to add your own CSS that resets border-style back to none for the map and it's children, something like:

#map * {
  border-style: none;
}

If we tried to fix this from the Tailwind side it would mean you could no longer add a border to an element just by adding the border class; instead you'd have to add border-solid border. I think writing an extra line of CSS just to undo this style for Google Maps is probably the better trade off.

If you'd prefer to choose the other side of that trade-off, just remove our preflight styles from your CSS and provide your own base styles instead 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.