We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
When a maps control group is empty, you can still see the control groups box shadow:
mapbox-gl-js version: #master
browser: All
The selector .mapboxgl-ctrl-group should not render its box-shadow when it has no children.
.mapboxgl-ctrl-group
It renders its box shadow always.
I think a simple fix for this would be to use the :not(:empty) selector when applying the box shadow to the control-group.
:not(:empty)
The text was updated successfully, but these errors were encountered:
Only render .mapboxgl-ctrl-group box-shadow when the ctrl-group has c…
016d95c
…hildren controls Fixes mapbox#7303
No branches or pull requests
Hi!
When a maps control group is empty, you can still see the control groups box shadow:
mapbox-gl-js version: #master
browser: All
Steps to Trigger Behavior
In Chrome:
Go to settings -> advanced -> location Add the current URL to your block list.
Expected Behavior
The selector
.mapboxgl-ctrl-group
should not render its box-shadow when it has no children.Actual Behavior
It renders its box shadow always.
I think a simple fix for this would be to use the
:not(:empty)
selector when applying the box shadow to the control-group.The text was updated successfully, but these errors were encountered: