diff --git a/CHANGELOG.md b/CHANGELOG.md index 533f85bf53..3cfc8756ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### 🐞 Bug fixes - Fixes scale control for globe on zoom out ([#4897](https://github.com/maplibre/maplibre-gl-js/pull/4897)) +- Fixes cooperative gestures displaying the mobile help text when screen width is smaller than 480px on non-touch devices ([#5053](https://github.com/maplibre/maplibre-gl-js/pull/5053)) - _...Add new stuff here..._ ## 5.0.0-pre.6 diff --git a/src/css/maplibre-gl.css b/src/css/maplibre-gl.css index e429dbc403..87569d6b60 100644 --- a/src/css/maplibre-gl.css +++ b/src/css/maplibre-gl.css @@ -850,7 +850,7 @@ a.maplibregl-ctrl-logo.maplibregl-compact { display: none; } -@media (hover: none), (width <= 480px) { +@media (hover: none), (pointer: coarse) { .maplibregl-cooperative-gesture-screen .maplibregl-desktop-message { display: none; }