File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
$ ( function ( ) {
2
2
$ ( '.navigationDiv' ) . load ( "nav.html .main-sidebar" , null , function ( ) {
3
+ var height = $ ( '.sidebar' ) . height ( ) ;
4
+ $ ( '.main-sidebar #categories' ) . css ( 'height' , height - 50 + 'px' ) ;
3
5
// Search Items
4
6
$ ( '#searchBox' ) . on ( 'keyup' , function ( e ) {
5
7
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function buildLi(obj){
148
148
<div class="search">
149
149
<input id="searchBox" type="text" class="form-control input-sm" placeholder="Search Documentations">
150
150
</div>
151
- <div style='width: 100%;position: absolute;top: 0px;bottom: 0px;left: 0px;padding -top:50px;height:100%'>
151
+ <div style='width: 100%;position: absolute;top: 0px;bottom: 0px;left: 0px;margin -top:50px;height:100%' id='categories '>
152
152
<div style='height:100%;overflow:auto'>
153
153
<ul class="sidebar-menu tree list" data-widget='tree'>
154
154
<?js
You can’t perform that action at this time.
0 commit comments