gitbook-plugin-lock
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -31,7 +31,8 @@ require(['gitbook', 'jQuery'], function(gitbook, $) { | ||
// 文章隐藏后的高度 | ||
const halfHeight = height * 0.7; | ||
const halfHeight = height * 0.5; | ||
console.log("看看---->",halfHeight) | ||
// cla[0].style.height= halfHeight + 'px'; | ||
cla[0].style.height= '50%'; | ||
cla[0].style.height= halfHeight + 'px'; | ||
cla[0].style.overflow = 'hidden' | ||
// cla[0].style.height= '50%'; | ||
// cla.addClass('lock'); | ||
@@ -38,0 +39,0 @@ // cla[0].classList.add("lock"); |
{ | ||
"name": "gitbook-plugin-lock", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "Gitbook 页面加锁", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8036
125