From a0b75268ee6f60d546e955164709c5908ac5fb0b Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Fri, 20 Aug 2021 09:28:22 +0200 Subject: [PATCH] Fix fullscreen in mapbox-style example --- examples/mapbox-style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/mapbox-style.css b/examples/mapbox-style.css index 00452f8269..51aa47de5f 100644 --- a/examples/mapbox-style.css +++ b/examples/mapbox-style.css @@ -4,3 +4,13 @@ top: auto; right: auto; } +.map:-webkit-full-screen { + height: 100%; + margin: 0; +} +.map:-ms-fullscreen { + height: 100%; +} +.map:fullscreen { + height: 100%; +} \ No newline at end of file