File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11$ ( function ( ) {
22 $ ( '.navigationDiv' ) . load ( "nav.html .main-sidebar" , null , function ( ) {
3- var height = $ ( '.sidebar' ) . height ( ) ;
4- $ ( '.main-sidebar #categories' ) . css ( 'height' , height - 50 + 'px' ) ;
3+ // var height = $('.sidebar').height();
4+ // $('.main-sidebar #categories').css('height', height - 72 + 'px');
55 // Search Items
66 $ ( '#searchBox' ) . on ( 'keyup' , function ( e ) {
77
@@ -99,8 +99,8 @@ $(function () {
9999 } )
100100
101101 } ) ;
102- $ ( window ) . resize ( function ( ) {
103- var height = $ ( '.navigationDiv .sidebar' ) . height ( ) ;
104- $ ( '.main-sidebar #categories' ) . css ( 'height' , height - 50 + 'px' ) ;
105- } )
102+ // $(window).resize(function () {
103+ // var height = $('.navigationDiv .sidebar').height();
104+ // $('.main-sidebar #categories').css('height', height - 72 + 'px');
105+ // })
106106} ) ;
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ function buildLi(obj){
151151 <input id="searchBox" type="text" class="form-control input-sm" placeholder="Search Documentations">
152152 <div class="split-line"></div>
153153 </div>
154- <div style='width: 100%;position: absolute;top: 0px;bottom: 0px;left: 0px;margin -top:125px;height:100%' id='categories'>
154+ <div style='width: 100%;position: absolute;top: 0px;bottom: 0px;left: 0px;padding -top:125px;height:100%' id='categories'>
155155 <div style='height:100%;overflow:auto'>
156156 <ul class="sidebar-menu tree list" data-widget='tree'>
157157 <?js
You can’t perform that action at this time.
0 commit comments