diff --git a/src/_h5ai/public/css/lib/ext/preview-img.less b/src/_h5ai/public/css/lib/ext/preview-img.less index d672ea39..3f5e644f 100644 --- a/src/_h5ai/public/css/lib/ext/preview-img.less +++ b/src/_h5ai/public/css/lib/ext/preview-img.less @@ -6,6 +6,8 @@ position: absolute; + image-orientation: from-image; + max-width: 100%; max-height: 100%;