mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
1. 修复 '返回顶部'箭头无法点击的bug
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user