From b3c4d741b257f8859ba0eb0701aca62243a94049 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 13 May 2023 08:15:31 +0800 Subject: [PATCH] refactor(img): disable transition effect in popup images --- _sass/addon/commons.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index d5e32e1..6e78d78 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -703,12 +703,17 @@ i { /* --- Overriding --- */ /* magnific-popup */ + figure .mfp-title { text-align: center; padding-right: 0; margin-top: 0.5rem; } +.mfp-img { + transition: none; +} + /* mermaid */ .mermaid { text-align: center;