mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-09 23:05:04 +02:00
related #1724 center svg if svg is portrait size
This commit is contained in:
@@ -5635,6 +5635,15 @@ a.group_users {
|
|||||||
opacity:1;
|
opacity:1;
|
||||||
-webkit-transition:opacity 200ms ease;
|
-webkit-transition:opacity 200ms ease;
|
||||||
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 {
|
.preview-box.icon-zoom-in:hover img {
|
||||||
opacity:0.5;
|
opacity:0.5;
|
||||||
|
|||||||
Reference in New Issue
Block a user