From ba74e0beb8020b32889b5e50baf23a82f7b118f4 Mon Sep 17 00:00:00 2001 From: Pascal Barth Date: Fri, 31 May 2024 14:26:49 +0200 Subject: [PATCH 1/3] PB-543 : fix Cesium CSS spillover Cesium CSS was altering how our buttons were shown, adding some padding or margins there and there. As we were importing the Cesium CSS file just to place the canvas (and its Cesium generated parent divs) correctly, I've switched to declare this CSS ourselves and remove the import of the Cesium CSS file. Also removing a couple wrapping divs in the Cesium component that are not useful, as they clutter our "real" DOM with many empty divs --- .../components/cesium/CesiumGeoJSONLayer.vue | 4 +- .../components/cesium/CesiumInternalLayer.vue | 96 ++++++++----------- .../map/components/cesium/CesiumMap.vue | 38 +++++++- .../map/components/cesium/CesiumWMSLayer.vue | 4 +- .../map/components/cesium/CesiumWMTSLayer.vue | 4 +- 5 files changed, 79 insertions(+), 67 deletions(-) diff --git a/src/modules/map/components/cesium/CesiumGeoJSONLayer.vue b/src/modules/map/components/cesium/CesiumGeoJSONLayer.vue index d01380a6d..7946ffac1 100644 --- a/src/modules/map/components/cesium/CesiumGeoJSONLayer.vue +++ b/src/modules/map/components/cesium/CesiumGeoJSONLayer.vue @@ -1,7 +1,5 @@