mapbox-gl-js
mapbox-gl-js copied to clipboard
Missing margin on compact attribution control when minimized
mapbox-gl-js version: 0.52
browser: Chrome
Steps to Trigger Behavior
- Create map with geolocate control in bottom-right position
- Margin of compact attribution control differs between minimized and maximized state
Possible Solution
Solved by setting a fixed height of 20px to the containing div (.mapboxgl-ctrl.mapboxgl-ctrl-attrib.mapboxgl-compact).
Closed by #7831