Fix sidebar animation issue

* See: https://github.com/next-theme/hexo-theme-next/issues/46
This commit is contained in:
Mimi 2020-07-06 11:14:18 +08:00
parent 2e4e1bc16f
commit 79bb4c9ebe
2 changed files with 6 additions and 5 deletions

View File

@ -252,13 +252,13 @@ symbols_count_time:
# Use icon instead of the symbol # to indicate the tag at the bottom of the post
tag_icon: false
# Reward (Donate)
# Donate (Sponsor) settings
# Front-matter variable (unsupport animation).
reward_settings:
# If true, reward will be displayed in every article by default.
# If true, a donate button will be displayed in every article by default.
enable: false
animation: false
#comment: Donate comment here.
#comment: Buy me a coffee
reward:
#wechatpay: /images/wechatpay.png
@ -394,7 +394,7 @@ github_banner:
# Font Settings
# See: https://theme-next.js.org/docs/theme-settings/#Fonts-Customization
# ---------------------------------------------------------------
# Find fonts on Google Fonts (https://www.google.com/fonts)
# Find fonts on Google Fonts (https://fonts.google.com)
# All fonts set here will have the following styles:
# light | light italic | normal | normal italic | bold | bold italic
# Be aware that setting too much fonts will cause site running slowly

View File

@ -7,5 +7,6 @@
@import 'math' if (hexo-config('math.mathjax.enable'));
.use-motion .animated {
visibility: visible;
// Fix issue #46 .animated in .sidebar
visibility: inherit;
}