Skip to content

Commit

Permalink
Fix sidebar animation issue
Browse files Browse the repository at this point in the history
* See: #46
  • Loading branch information
stevenjoezhang committed Jul 6, 2020
1 parent 2e4e1bc commit 79bb4c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion source/css/_common/components/third-party/third-party.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 79bb4c9

Please sign in to comment.