mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 17:30:53 +08:00
1. 修復當valine background 是絕對地址時無法顯示的bug
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
font-size: .7rem
|
||||
|
||||
if hexo-config('valine.bg')
|
||||
background: url(convert(hexo-config('valine.bg'))) 100% 100% no-repeat
|
||||
background: url(hexo-config('valine.bg')) 100% 100% no-repeat
|
||||
|
||||
.info
|
||||
display: none
|
||||
|
||||
@@ -258,7 +258,7 @@ $(function () {
|
||||
buttons: ['slideShow', 'fullScreen', 'thumbs', 'close']
|
||||
})
|
||||
} else if (isMediumZoom) {
|
||||
const zoom = mediumZoom(document.querySelectorAll('.mediumZoom'))
|
||||
const zoom = mediumZoom(document.querySelectorAll(':not(a)>img'))
|
||||
zoom.on('open', event => {
|
||||
const photoBg = $(document.documentElement).attr('data-theme') === 'dark' ? '#121212' : '#fff'
|
||||
zoom.update({
|
||||
|
||||
Reference in New Issue
Block a user