related #1724 center svg if svg is portrait size

This commit is contained in:
HWFord
2022-12-15 12:05:02 +01:00
parent 2a72114377
commit 5e4739b470

View File

@@ -5635,6 +5635,15 @@ a.group_users {
opacity:1;
-webkit-transition:opacity 200ms ease;
transition:opacity 200ms ease;
max-width: 100%;
}
.preview-box.icon-zoom-in img.svg-image {
height: 100%;
top: 50%;
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
}
.preview-box.icon-zoom-in:hover img {
opacity:0.5;