Skip to content

Commit

Permalink
FIX: sidebar scrollable in all schemes [24].
Browse files Browse the repository at this point in the history
Add `post_block` motion effects on `.pagination` and `.comments` [2].
  • Loading branch information
ivan-nginx authored Sep 28, 2017
1 parent fa871de commit 11c5d1c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/css/_common/components/post/post.styl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
}

.use-motion {
if hexo-config('motion.transition.post_block') { .post-block { opacity: 0; } }
if hexo-config('motion.transition.post_block') {
.post-block,
.pagination,
.comments { opacity: 0; }
}
if hexo-config('motion.transition.post_header') { .post-header { opacity: 0; } }
if hexo-config('motion.transition.post_body') { .post-body { opacity: 0; } }
if hexo-config('motion.transition.coll_header') { .collection-title { opacity: 0; } }
Expand Down

0 comments on commit 11c5d1c

Please sign in to comment.