This commit is contained in:
Van
2019-03-22 12:04:02 +08:00
parent 50417e9a54
commit 5245aafcca
6 changed files with 53 additions and 31 deletions

View File

@@ -19,7 +19,7 @@
* @fileoverview util and every page should be used.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.2.0.0, Jan 30, 2019
* @version 0.2.0.1, Mar 22, 2019
*/
/**
@@ -28,8 +28,8 @@
*/
var Skin = {
initToc: function () {
if ($('.b3-solo-list li').length > 0 && $(window).width() > 768) {
$('.b3-solo-list').css({
if ($('.article__toc li').length > 0 && $(window).width() > 768) {
$('.article__toc').css({
right: '50px',
'border-right': '1px solid #fff',
opacity: 1,