From 5af592969fa6e9551a84f880e3b11474eec4bf74 Mon Sep 17 00:00:00 2001 From: Tim Stibbs Date: Sun, 9 Feb 2025 21:04:10 +0000 Subject: [PATCH] Stopping popups exceeding screen limits --- ui/src/style/main.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/src/style/main.scss b/ui/src/style/main.scss index 8df78ca..67175a2 100644 --- a/ui/src/style/main.scss +++ b/ui/src/style/main.scss @@ -218,3 +218,9 @@ body:not(.mobile) label.fancy-checkbox > i:hover { label.fancy-checkbox { cursor: pointer; } + +.leaflet-popup-content { + overflow: auto; + max-height: 85vh; + max-width: 85vw; +}