From 66046e7dc2db8c9ff34691ba52de34ff077396cc Mon Sep 17 00:00:00 2001 From: Ozcan Durak Date: Thu, 17 Aug 2023 17:17:28 +0300 Subject: [PATCH] fix zoom of planar Mapilio photos (#9849) Co-authored-by: Dogukan --- css/60_photos.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/css/60_photos.css b/css/60_photos.css index b5f7957a3..abcab9b8e 100644 --- a/css/60_photos.css +++ b/css/60_photos.css @@ -286,15 +286,24 @@ background-position: center; background-repeat: no-repeat; } + #ideditor-viewer-mapilio-simple-wrap { height: 100%; } + #ideditor-viewer-mapilio-simple { width: 100%; height: 100%; transform-origin: 0 0; } +#ideditor-viewer-mapilio-simple img { + width: 100%; + height: 100%; + object-fit: cover; + overflow: hidden +} + /* Streetside Viewer (pannellum) */ .ms-wrapper .photo-attribution .image-link { display: block;