1. 修复 '返回顶部'箭头无法点击的bug

This commit is contained in:
hwy0127@gmail.com
2019-08-12 18:07:44 +08:00
parent 6cdd19e07f
commit bb8e98c68a
2 changed files with 5 additions and 6 deletions

View File

@@ -212,8 +212,7 @@ table
#rightside
right: -38px
position: fixed
bottom: 30px
padding-bottom: 32px
bottom: 60px
opacity: 0
transition: all .2s

View File

@@ -418,12 +418,12 @@ $(function () {
}
if ( $(window).width() <= 768 && $('#post_bottom').hasClass('toc_mobile_show') ){
$('#rightside,#go-up').css('bottom', '80px')
$('#rightside,#go-up').css('bottom', '70px')
$('#rightside').css('bottom', '110px')
$('#go-up').css('bottom', '70px')
} else {
$('#rightside,#go-up').css('bottom', '30px')
$('#rightside,#go-up').css('bottom', '20px')
$('#rightside').css('bottom', '60px')
$('#go-up').css('bottom', '20px')
}
}, 50, 100))