[openstreetmap/openstreetmap-website] Fix geolocate `background-color` being used instead of `color` (PR #6748)

Marwin Hochfelsner notifications at github.com
Wed Jan 28 17:50:46 UTC 2026


@hlfan commented on this pull request.

These *important* overrides make things like that more difficult than they need to be. Let's use specificity instead and remove the overrides here completely:

```css
.maplibregl-control-container .maplibregl-ctrl {
  margin-right: 0;
}
```

```css
.maplibregl-ctrl-group {
  background-color: transparent;
}
```

```css
.maplibregl-user-location-accuracy-circle {
  background-color: color.adjust($green, $alpha: -0.8);
}
```

```css
.maplibregl-map .maplibregl-control-container .maplibregl-ctrl button .maplibregl-ctrl-icon {
  background-image: none;
}
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6748#pullrequestreview-3718132763
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6748/review/3718132763 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260128/7b6c138d/attachment-0001.htm>


More information about the rails-dev mailing list