From 24b4b5bfd2d8e6dba68fa9576dbc6efed156fb64 Mon Sep 17 00:00:00 2001 From: songyumeng Date: Wed, 13 Nov 2024 20:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=E4=BF=AE=E5=A4=8Ddoc?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/jsdocs/template/static/scripts/main.js | 12 ++++++------ build/jsdocs/template/tmpl/navigation.tmpl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build/jsdocs/template/static/scripts/main.js b/build/jsdocs/template/static/scripts/main.js index b9d0ff0b3..d88ee1fd1 100644 --- a/build/jsdocs/template/static/scripts/main.js +++ b/build/jsdocs/template/static/scripts/main.js @@ -1,7 +1,7 @@ $(function () { $('.navigationDiv').load("nav.html .main-sidebar", null, function () { - // var height = $('.sidebar').height(); - // $('.main-sidebar #categories').css('height', height - 72 + 'px'); + var height = $('.sidebar').height(); + $('.main-sidebar #categories').css('height', height - 125 + 'px'); // Search Items $('#searchBox').on('keyup', function (e) { @@ -99,8 +99,8 @@ $(function () { }) }); - // $(window).resize(function () { - // var height = $('.navigationDiv .sidebar').height(); - // $('.main-sidebar #categories').css('height', height - 72 + 'px'); - // }) + $(window).resize(function () { + var height = $('.navigationDiv .sidebar').height(); + $('.main-sidebar #categories').css('height', height - 125 + 'px'); + }) }); \ No newline at end of file diff --git a/build/jsdocs/template/tmpl/navigation.tmpl b/build/jsdocs/template/tmpl/navigation.tmpl index ae2102e7a..6afde0d8b 100644 --- a/build/jsdocs/template/tmpl/navigation.tmpl +++ b/build/jsdocs/template/tmpl/navigation.tmpl @@ -151,7 +151,7 @@ function buildLi(obj){
-
+