* Optimize api page style.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user