Skip to content

Commit b3c4d74

Browse files
committed
refactor(img): disable transition effect in popup images
1 parent 129c4b3 commit b3c4d74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_sass/addon/commons.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,12 +703,17 @@ i {
703703
/* --- Overriding --- */
704704

705705
/* magnific-popup */
706+
706707
figure .mfp-title {
707708
text-align: center;
708709
padding-right: 0;
709710
margin-top: 0.5rem;
710711
}
711712

713+
.mfp-img {
714+
transition: none;
715+
}
716+
712717
/* mermaid */
713718
.mermaid {
714719
text-align: center;

0 commit comments

Comments
 (0)