mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Missing margin on compact attribution control when minimized

Open eftas-gka opened this issue 7 years ago • 1 comments

mapbox-gl-js version: 0.52

browser: Chrome

Steps to Trigger Behavior

  1. Create map with geolocate control in bottom-right position
  2. 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).

eftas-gka avatar Jan 04 '19 10:01 eftas-gka

Closed by #7831

ryanhamley avatar Jan 30 '19 19:01 ryanhamley