How to full height left sidebar in bootstrap
<p>I have created a admin dashboard panel where collapsible left sidebar present. But problem is if i scroll window the left sidebar is not full height. I have set the wrapper and body min-height 100%. But it does not work. </p>

<p>css code:</p>

<pre><code>body{
      background: #f5f6f8;
      color: #494949;
      min-height: 100%;
      height: 100%;
  }
  #wrapper {
      padding-left: 0;
      -webkit-transition: all 0.5s ease;
      -moz-transition: all 0.5s ease;
      -o-transition: all 0.5s ease;
      transition: all 0.5s ease;
      height: 100%;
      min-height: 100%;
  }

  #wrapper.toggled {
      padding-left: 230px;
  }

  #sidebar-wrapper {
      z-index: 1000;
      position: absolute;
      left: 230px;
      width: 0;
      margin-left: -230px;
      background-color: #fff; /*#222d32;*/
        color: white;
        white-space: nowrap!important;
      overflow: hidden;
      -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
      -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
      box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
      -webkit-transition: all 0.5s ease;
      -moz-transition: all 0.5s ease;
      -o-transition: all 0.5s ease;
      transition: all 0.5s ease;
      top:0;
      padding-top: 50px;
      height: 100%;
      min-height: 100%;
  }

  #wrapper.toggled #sidebar-wrapper {
      width: 230px;
  }

  #page-content-wrapper {
      width: 100%;
      position: absolute;
      padding: 15px;
      padding-top: 50px;
  }

  #wrapper.toggled #page-content-wrapper {
      position: absolute;
      margin-right: -230px;
  }
  /* Sidebar Styles */

  /*metis menu*/

  .arrow {
  float: right;
  }
  .glyphicon.arrow:before {
  content: "\e079";
  }
  .active &gt; a &gt; .glyphicon.arrow:before {
  content: "\e114";
  }
  .fa.arrow:before {
  content: "\f104";
  }
  .active &gt; a &gt; .fa.arrow:before {
  content: "\f107";
  }
  .plus-times {
  float: right;
  }
  .fa.plus-times:before {
  content: "\f067";
  }
  .active &gt; a &gt; .fa.plus-times {
   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  }
  .plus-minus {
  float: right;
  }
  .fa.plus-minus:before {
  content: "\f067";
  }
  .active &gt; a &gt; .fa.plus-minus:before {
  content: "\f068";
  }


  /*----end of icon--*/


  .sidebar-header{
    color: #4b646f;
    background: #fff;
    text-align: center;
    padding: 12px 5px 12px 15px;
  }
  .sidebar-nav {
    position: relative;
    margin: 0;
    padding: 0;
    width: 230px;
    list-style: none;
    font-size: 14px;
  }


  .sidebar-nav li a {
    color: #737373;
    display: block;
    text-decoration: none;
    border-left: 3px solid transparent;
    padding: 12px 15px 12px 15px;
  }
  .sidebar-nav&gt;li&gt;a {
      border-top: 1px solid #f3f3f3;
  }
  .sidebar-nav&gt;li.active&gt;a, .sidebar-nav&gt;li:hover&gt;a {
    background: #f5f5f5;
    border-left: 3px solid #23b7e5;
    text-decoration: none;
    color: #484343;
  }
  .sidebar-nav li a:active, .sidebar-nav li a:focus {
    text-decoration: none;
  }
  #sidebar-wrapper.sidebar-toggle {
    transition: all 0.3s ease-out;
    margin-left: -230px;
  }
  .sidebar-nav&gt;li&gt;.submenu {
      list-style: none;
      margin: 0 1px;
      padding: 4px 4px 4px 14px;
      font-size: 12px;
      background-color: #fbfbfb;
      -webkit-box-shadow: inset 0 4px 4px -2px rgba(0,0,0,.15),inset 0 -4px 4px -2px rgba(0,0,0,.15);
      -moz-box-shadow: inset 0 4px 4px -2px rgba(0,0,0,.15),inset 0 -4px 4px -2px rgba(0,0,0,.15);
      box-shadow: inset 0 4px 4px -2px rgba(0,0,0,.15),inset 0 -4px 4px -2px rgba(0,0,0,.15);
  }
  .sidebar-nav&gt;li&gt;.submenu a{
        color: #737373;
  }

  .sidebar-nav .submenu&gt;li&gt;a:hover {
      color: #484343;
  }
  .sidebar-nav .fa, .submenu&gt;li&gt;a&gt;.glyphicon{
      width: 20px;
  }




  .main-header{
      position: relative;
      max-height: 100px;
      z-index: 1030;
  }

  .main-header .logo {
      background-color: #1FABD6;
      color: #fff;
      border-bottom: 0 solid transparent;
      -webkit-transition: width .3s ease-in-out;
      -o-transition: width .3s ease-in-out;
      transition: width .3s ease-in-out;
      display: block;
      float: left;
      height: 50px;
      font-size: 20px;
      line-height: 50px;
      text-align: center;
      width: 230px;
      font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
      padding: 0 15px;
      font-weight: 300;
      overflow: hidden;
      text-decoration: none;
  }

  .main-header&gt;.navbar {
      -webkit-transition: margin-left .3s ease-in-out;
      -o-transition: margin-left .3s ease-in-out;
      transition: margin-left .3s ease-in-out;
      margin-bottom: 0;
      margin-left: 230px;
      border: none;
      min-height: 50px;
      border-radius: 0;
      background-color: #23b7e5;
      padding-right: 20px;

  }


  .main-header .toggleBtn {
      float: left;
      background-color: transparent;
      background-image: none;
      padding: 15px;
      font-family: fontAwesome;
      text-decoration: none;
  }

  .main-header .toggleBtn:before {
      content: "\f0c9";
  }
  .main-header .navbar .toggleBtn,.main-header .navbar .nav&gt;li&gt;a  {
      color: #fff;
  }
  .main-header .navbar .nav .open&gt;a, .main-header .navbar .nav .open&gt;a:focus, .main-header .navbar .nav .open&gt;a:hover, .main-header .navbar .nav&gt;.active&gt;a, .main-header .navbar .nav&gt;li&gt;a:active, .main-header .navbar .nav&gt;li&gt;a:focus, .main-header .navbar .nav&gt;li&gt;a:hover {
      background: #1FABD6;
      color: #f6f6f6;
  }

  .main-header .navbar .toggleBtn:hover {
      color: #f6f6f6;
      background-color: #1FABD6;
      text-decoration: none;
  }

  .main-header .navbar .cust-nav .navbar-nav{
    float: right;
  }


  .cust-nav .navbar-nav&gt;li {
      float: left;
  }
  .cust-nav .navbar-nav {
      margin: 0;
      float: left;
  }
  .cust-nav .navbar-nav&gt;li&gt;a {
      padding-top: 15px;
      padding-bottom: 15px;
      line-height: 20px;
  }


  .cust-nav .navbar-nav .dropdown:hover&gt; a .label {
    animation: none;
    -webkit-animation: none;
  }


  .main-header .navbar .nav&gt;li&gt;a&gt;.label {
      position: absolute;
      top: 9px;
      right: 7px;
      text-align: center;
      font-size: 9px;
      padding: 2px 3px;
      line-height: .9;
      animation: opacity-badge 1s infinite;
      -webkit-animation: opacity-badge 1s infinite;
  }
  @keyframes opacity-badge {
    0% {
      transform: scale(0.5);-webkit-filter: opacity(.1); filter: opacity(.1);
    }
    100% {
      transform: scale(1.8); 
    }
  }

  @-webkit-keyframes opacity-badge {
    0% {
      transform: scale(0.5);
    }
    100% {
      transform: scale(0.5);-webkit-filter: opacity(.1); filter: opacity(.1);

    }
  }
  .cust-nav&gt;.navbar-nav&gt;li&gt;.dropdown-menu {
      position: absolute;
      right: 5%;
      left: auto;
      border: 1px solid #ddd;
      background: #fff;
  }



  /*===========================content header===============================*/
  .content-header{
    position: relative;
    min-height: 40px;
    line-height: 39px;
    padding: 0;
    display: block;
    z-index: 1;

  }

  .content-header h1 {
      padding: 0;
      margin: 0 4px;
      font-size: 25px;
      font-weight: lighter;
      color: #737373;
      line-height: 37px;
      display: inline-block;
      padding-left: 10px;
  }

  .breadcrumb {
      background-color: transparent;
      display: inline-block;
      line-height: 37px;
      margin: 0 22px 0 12px;
      padding: 0;
      font-size: 13px;
      color: #333;
      border-radius: 0;
  }
  .breadcrumb&gt;li&gt;i {
      margin-left: 4px;
      margin-right: 2px;
      font-size: 20px;
      position: relative;
      top: 2px;
  }
  .breadcrumb&gt;li, .breadcrumb&gt;li.active {
      color: #777;
      -webkit-text-shadow: none;
      text-shadow: none;
  }
  .breadcrumb&gt;li&gt;a {
      display: inline-block;
      color: #2dc3e8;
  }

  /*===========================info box===============================*/

  .info-orange{
    border-left: 5px solid #FF8B24;
    color: #FF8B24;
  }

  .info-sky{
    border-left: 5px solid #23B7E5;
    color: #23B7E5;
  }

  .info-red{
    border-left: 5px solid #F11212;
    color: #F11212;
  }

  .info-green{
    border-left: 5px solid #2CDE00;
    color: #969594;
  }

  hr{
    border-top: 1px solid #E8E8E8;
  }
  .info-box{
    min-height: 90px;
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.33);
      box-shadow: 0 1px 3px 0 rgba(0,0,0,0.33);
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      margin-bottom: 20px;
  }
  .info-left{
    float:left;
    font-size: 12px;
    color: #9C9C9C;
  }
  .info-left h2{
    margin: 0px;
    padding: 0px;
  }
  .info-right{
    float:right;
  }

  /*===========================panel===============================*/
  .panel-default{

  }


  @media(max-width: 768px){

    .main-header .logo, .main-header .navbar {
      width: 100%;
      float: left;
      position: relative!important;
      margin-left: 0px;
    }

    #sidebar-wrapper{
      padding-top: 100px!important;

    }

    .main-header .navbar .cust-nav{
      float: left;
      padding-left: 20%;
    }

    .cust-nav&gt;.navbar-nav&gt;li&gt;.dropdown-menu {
      position: absolute;
      right: -60%;
      left: auto;
      border: 1px solid #ddd;
      background: #fff;
    }

    #page-content-wrapper {
      padding-top: 100px;
    }

    .content-header{
        padding-top: 20px;
    }
  }


  @media(min-width:768px) {
      #wrapper {
          padding-left: 250px;
      }

      #wrapper.toggled {
          padding-left: 0;
      }

      #sidebar-wrapper {
          width: 230px;
      }

      #wrapper.toggled #sidebar-wrapper {
          width: 0;
      }

      #page-content-wrapper {
          padding: 20px;
          position: relative;
      }

      #wrapper.toggled #page-content-wrapper {
          position: relative;
          margin-right: 0;
      }
  }
</code></pre>

<p>html:
                </p>

<pre><code>        &lt;a href="" class="logo"&gt;
                &lt;!-- logo for regular state and mobile devices --&gt;
                &lt;span class="logo-lg"&gt;&lt;b&gt;Demo&lt;/b&gt;&lt;/span&gt;
            &lt;/a&gt;

        &lt;div class="navbar navbar-static-top" role="navigation" id="mainNav"&gt;
          &lt;a href="" class="toggleBtn visible-xs1" role="button" id="menu-toggle"&gt;
                    &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                &lt;/a&gt;


                &lt;div class="cust-nav"&gt;
                  &lt;ul class="nav navbar-nav"&gt;
                    &lt;!-- Messages--&gt;
                      &lt;li class="dropdown"&gt;
                        &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"&gt;
                            &lt;i class="fa fa-envelope-o"&gt;&lt;/i&gt;
                            &lt;span class="label label-success"&gt;4&lt;/span&gt;
                        &lt;/a&gt;
                        &lt;ul class="dropdown-menu"&gt;
                          &lt;li class="header"&gt;You have 4 messages&lt;/li&gt;
                          &lt;li&gt;Test&lt;/li&gt;
                          &lt;/ul&gt;
                      &lt;/li&gt;

                      &lt;!-- Notifications--&gt;
                    &lt;li class="dropdown"&gt;
                        &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"&gt;
                            &lt;i class="fa fa-bell-o"&gt;&lt;/i&gt;
                            &lt;span class="label label-warning"&gt;10&lt;/span&gt;
                        &lt;/a&gt;
                        &lt;ul class="dropdown-menu"&gt;
                          &lt;li class="header"&gt;You have 10 notifications&lt;/li&gt;
                          &lt;li class="footer"&gt;&lt;a href="#"&gt;View all&lt;/a&gt;&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/li&gt;

                    &lt;!-- Settings--&gt;
                    &lt;li class="dropdown"&gt;
                        &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"&gt;
                            &lt;i class="fa fa-user"&gt;&lt;/i&gt;
                        &lt;/a&gt;
                        &lt;ul class="dropdown-menu"&gt;
                          &lt;li class="header"&gt;You have 10 notifications&lt;/li&gt;
                          &lt;li class="footer"&gt;&lt;a href="#"&gt;View all&lt;/a&gt;&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;


    &lt;!-- page wraper --&gt;
    &lt;div id="wrapper"&gt;



      &lt;!-- sidebar wrapper --&gt;
      &lt;div id="sidebar-wrapper"&gt;
        &lt;ul class="sidebar-nav"&gt;


          &lt;li class="sidebar-header"&gt;SideBar&lt;/li&gt;
            &lt;li&gt;&lt;a href="#item1"&gt;&lt;i class="fa fa-dashboard"&gt;&lt;/i&gt; Dashboard&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#item1"&gt;&lt;i class="fa fa-cogs"&gt;&lt;/i&gt; Settings&lt;/a&gt;&lt;/li&gt;



          &lt;!-- Users menu --&gt;
          &lt;li&gt;
            &lt;a href="#" aria-expanded="false"&gt;
              &lt;i class="fa fa-users"&gt;&lt;/i&gt; 
                User
              &lt;i class="fa arrow pull-right"&gt;&lt;/i&gt;
            &lt;/a&gt;
            &lt;ul class="submenu"&gt;
              &lt;li&gt;&lt;a href=""&gt;&lt;i class="fa fa-user-plus"&gt;&lt;/i&gt;&lt;span&gt; Create New&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href=""&gt; &lt;i class="fa fa-eye"&gt;&lt;/i&gt;&lt;span&gt; View Users&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;&lt;!--End of  Users menu --&gt;



            &lt;li&gt;&lt;a href="#item1"&gt;&lt;i class="fa fa-envelope-o"&gt;&lt;/i&gt; Message&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#item1"&gt;&lt;i class="fa fa-pencil-square-o"&gt;&lt;/i&gt; Log&lt;/a&gt;&lt;/li&gt;


              &lt;/ul&gt;
          &lt;/div&gt;&lt;!-- //sidebar wrapper --&gt;


           &lt;!-- Page Content --&gt;
          &lt;div id="page-content-wrapper"&gt;

            &lt;div class="content-header"&gt;
          &lt;h1&gt;Dashboard&lt;/h1&gt;
          &lt;ul class="breadcrumb pull-right hidden-xs"&gt;
                      &lt;li&gt;
                          &lt;i class="fa fa-home"&gt;&lt;/i&gt;
                          &lt;a href="#"&gt;Home&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="active"&gt;Dashboard&lt;/li&gt;
                  &lt;/ul&gt;
        &lt;/div&gt;
        &lt;hr/&gt;


              &lt;div class="container-fluid"&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="col-lg-12"&gt;
                        &lt;!--info box --&gt;
                          &lt;div class="row"&gt;
                      &lt;!--client panel --&gt;
                      &lt;div class="col-lg-3 col-md-6"&gt;
                        &lt;div class="info-box info-orange"&gt;
                          &lt;div class="info-left"&gt;
                      &lt;span&gt;Demo1&lt;/span&gt;
                      &lt;h2&gt;100&lt;/h2&gt;
                    &lt;/div&gt;
                    &lt;div class="info-right"&gt;
                      &lt;i class="fa fa-institution fa-3x"&gt;&lt;/i&gt;
                    &lt;/div&gt;
                        &lt;/div&gt;
                      &lt;/div&gt;

                      &lt;!--Student panel --&gt;
                      &lt;div class="col-lg-3 col-md-6"&gt;
                        &lt;div class="info-box info-sky"&gt;
                          &lt;div class="info-left"&gt;
                      &lt;span&gt;Demo2&lt;/span&gt;
                      &lt;h2&gt;500&lt;/h2&gt;
                    &lt;/div&gt;
                    &lt;div class="info-right"&gt;
                      &lt;i class="fa fa-users fa-3x"&gt;&lt;/i&gt;
                    &lt;/div&gt;
                        &lt;/div&gt;
                      &lt;/div&gt;


                      &lt;!--Message panel --&gt;
                      &lt;div class="col-lg-3 col-md-6 clerefix"&gt;
                        &lt;div class="info-box info-red"&gt;
                          &lt;div class="info-left"&gt;
                      &lt;span&gt;Total Message&lt;/span&gt;
                      &lt;h2&gt;200&lt;/h2&gt;
                    &lt;/div&gt;
                    &lt;div class="info-right"&gt;
                      &lt;i class="fa fa-users fa-3x"&gt;&lt;/i&gt;
                    &lt;/div&gt;
                        &lt;/div&gt;
                      &lt;/div&gt;

                      &lt;!--Message panel --&gt;
                      &lt;div class="col-lg-3 col-md-6"&gt;
                        &lt;div class="info-box info-green"&gt;
                          &lt;div class="info-left"&gt;
                      &lt;img src="images/admin.png" class="img-responsive img-circle"&gt;
                    &lt;/div&gt;

                        &lt;/div&gt;
                      &lt;/div&gt;
                    &lt;/div&gt;

                    &lt;!--info box --&gt;
                          &lt;div class="row"&gt;
                            &lt;div class="col-lg-12"&gt;
                              &lt;div class="panel panel-default"&gt;
                                &lt;div class="panel-heading"&gt;
                                  Demo Panel Heading
                                &lt;/div&gt;
                                &lt;div class="panel-body"&gt;
                                  panel body
                                &lt;/div&gt;
                              &lt;/div&gt;
                            &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!-- /#page-content-wrapper --&gt;

    &lt;/div&gt;&lt;!--//page wrapper--&gt;
</code></pre>

<p><a href="https://jsfiddle.net/81t6a96j/" rel="nofollow">https://jsfiddle.net/81t6a96j/</a></p>