Fix bugs in gallery when rotating images with Fit Height enabled.
This commit is contained in:
parent
d3e4c62c8f
commit
a16a85ea7c
@ -2281,6 +2281,8 @@ a:only-of-type > .remove {
|
|||||||
.gal-image a {
|
.gal-image a {
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
-webkit-align-items: flex-start;
|
||||||
|
align-items: flex-start;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@ -2289,6 +2291,11 @@ a:only-of-type > .remove {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
.gal-image img,
|
||||||
|
.gal-image video {
|
||||||
|
-webkit-flex: none;
|
||||||
|
flex: none;
|
||||||
|
}
|
||||||
.gal-fit-width .gal-image img,
|
.gal-fit-width .gal-image img,
|
||||||
.gal-fit-width .gal-image video {
|
.gal-fit-width .gal-image video {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user