* Optimize api page style.

This commit is contained in:
caoyanyi
2023-04-03 17:11:27 +08:00
parent 489ae36491
commit ec2e0276de
8 changed files with 169 additions and 142 deletions
+17
View File
@@ -0,0 +1,17 @@
$(function()
{
setHeight();
$(window).resize(setHeight);
});
/**
* Set pane height.
*
* @access public
* @return void
*/
function setHeight()
{
var paneHeight = $(window).height() - 90;
$('#sidebar .module-tree,#mainContent .module-content').css('height', paneHeight);
}