From ec10ea1acc0783e3ded08bacd91b2ca41b00484e Mon Sep 17 00:00:00 2001 From: alokhyland Date: Thu, 7 Sep 2023 17:34:59 +0530 Subject: [PATCH] ELEMENTS-1670 Fix image centering in nuxeo-image-viewer --- ui/viewers/nuxeo-image-viewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/viewers/nuxeo-image-viewer.js b/ui/viewers/nuxeo-image-viewer.js index 09d4b080f..1793b03d1 100644 --- a/ui/viewers/nuxeo-image-viewer.js +++ b/ui/viewers/nuxeo-image-viewer.js @@ -153,9 +153,9 @@ import '../nuxeo-icons.js'; width: 100% !important; } - .cropper-canvas, - .cropper-canvas > img { - width: 100% !important; + .cropper-canvas { + transform: none !important; + margin: auto; }