From 582ce74e93631fb8f97ca33c45933ca2698a7c0f Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Tue, 21 Jul 2020 13:02:47 +0800 Subject: [PATCH] Reset animation-fill-mode * See: https://github.com/next-theme/hexo-theme-next/issues/48 * See: https://github.com/next-theme/hexo-theme-next/issues/55 --- source/css/_common/components/third-party/third-party.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/css/_common/components/third-party/third-party.styl b/source/css/_common/components/third-party/third-party.styl index 84a4d82..324d9c5 100644 --- a/source/css/_common/components/third-party/third-party.styl +++ b/source/css/_common/components/third-party/third-party.styl @@ -7,6 +7,12 @@ @import 'math' if (hexo-config('math.mathjax.enable')); .use-motion .animated { + // Fix issue #48 #55 + animation-fill-mode: none; // Fix issue #46 .animated in .sidebar visibility: inherit; } + +.use-motion .sidebar .animated { + animation-fill-mode: both; +}