From 5b95d9018924805355fbc4be09f75ce8109a9d06 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 15 Jul 2021 09:31:01 +0200 Subject: [PATCH] Fix areaselector --- package.json | 2 +- src/components/MapMixin.css | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d227daf30..dcd1a6aa4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openeo/web-editor", - "version": "0.8.0-rc.1", + "version": "0.8.0-rc.2", "apiVersions": [ "1.0.0-rc.2", "1.0.0", diff --git a/src/components/MapMixin.css b/src/components/MapMixin.css index 1cf052b33..06a16ad8e 100644 --- a/src/components/MapMixin.css +++ b/src/components/MapMixin.css @@ -29,7 +29,11 @@ border-color: #fff; } /* Make sure the swipe control is behind the other controls */ -.ol-unselectable, .ol-control { +.ol-unselectable, +.ol-control { + z-index: 2; +} +.ol-control.ol-timeline { z-index: 1; } .ol-swipe { @@ -64,12 +68,6 @@ width: 0; } -.ol-control, .ol-unselectable { - z-index: 10; -} -.ol-control.ol-timeline { - z-index: 1 -} .ol-control.ol-timeline .timeline-date-label { width: 7em; font-size: 0.8em;