From 92537cc00df9ef43e2ab74c6cb688e494e546138 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Mon, 16 Jul 2018 19:03:36 +0200 Subject: [PATCH] Fix Firefox selecting text in controls on map click/drag --- css/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/css/style.css b/css/style.css index 7fb0896..4a390fd 100644 --- a/css/style.css +++ b/css/style.css @@ -124,6 +124,13 @@ footer { /* center error message horizontally */ display: flex; justify-content: center; + + /* map click/drag selects text in controls in Firefox because of display flex */ + -moz-user-select: none; +} +.leaflet-control-container, +#message .alert { + -moz-user-select: text; } #message { z-index: 3000;