style: optimize lazyload loading icon align

This commit is contained in:
XPoet 2022-10-10 11:01:00 +08:00
parent e65e3a07bd
commit 97d1b5f542
1 changed files with 4 additions and 0 deletions

View File

@ -209,6 +209,10 @@
opacity 0 opacity 0
} }
&[lazyload] {
margin 0.8rem auto 0.2rem
}
if (hexo-config('post.img_align') == 'center' || hexo-config('style.article_img_align') == 'center') { if (hexo-config('post.img_align') == 'center' || hexo-config('style.article_img_align') == 'center') {
margin 0.8rem auto 0.2rem margin 0.8rem auto 0.2rem
} }