I wonder what would be appropriate here. Putting the cross on the left goes against the usual placement of this kind of button. Maybe a "v" button on the left to minimize/collapse the widget would be preferable?
@frafra Thank you for reporting the issue. I think putting a button to expand / collapse the content is good idea on the top-left. Feel free to create a PR for this issue.
Scrollbar clashes with the "x"/close button.
https://github.com/watergis/maplibre-gl-legend/blob/de661ee8e05cfa85242c10fb3e0aced35a2e1ca9/packages/maplibre-gl-legend/src/scss/maplibre-gl-legend.scss#L6
Firefox 116. DEMO: https://maps.nina.no/datasets/planlagt-utbyggingsareal-i-norge/.
I wonder what would be appropriate here. Putting the cross on the left goes against the usual placement of this kind of button. Maybe a "v" button on the left to minimize/collapse the widget would be preferable?