refactor(img): disable transition effect in popup images

This commit is contained in:
Cotes Chung 2023-05-13 08:15:31 +08:00
parent 129c4b3fa6
commit b3c4d741b2
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -703,12 +703,17 @@ i {
/* --- Overriding --- */ /* --- Overriding --- */
/* magnific-popup */ /* magnific-popup */
figure .mfp-title { figure .mfp-title {
text-align: center; text-align: center;
padding-right: 0; padding-right: 0;
margin-top: 0.5rem; margin-top: 0.5rem;
} }
.mfp-img {
transition: none;
}
/* mermaid */ /* mermaid */
.mermaid { .mermaid {
text-align: center; text-align: center;