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 #rightside
right: -38px right: -38px
position: fixed position: fixed
bottom: 30px bottom: 60px
padding-bottom: 32px
opacity: 0 opacity: 0
transition: all .2s transition: all .2s

View File

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