Skip to content

Commit

Permalink
ELEMENTS-1584 Fix image centering in nuxeo-image-viewer after closing…
Browse files Browse the repository at this point in the history
… sidebar
  • Loading branch information
alokhyland committed Sep 7, 2023
1 parent ebe17c3 commit c7c1430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/viewers/nuxeo-image-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</style>
Expand Down

0 comments on commit c7c1430

Please sign in to comment.