title: Bootstrap Dropdown button width issue
body: <p>I am using a sidebar to have a list of URL links or buttons if you will but I also need some dropdown buttons/lists in there as well.</p>
  
  <p>I am having an issue of having it look consistently alike and also fill the width of the container also as front end isn't my strongest suite am struggling to get it to look how I want.</p>
  
  <p>You can see that the list within the sidebar is the full width across.....but the button isn't so I need to get it the whole way across and look consistent with the list or alternatively somehow throw a drop down menu on top of the list if required, I have tried to maniputlate it via using <code>btn-block</code> and <code>width 100%</code> to no joy</p>
  
  <p>I need to have a separate buttons for the drop down button seen in example.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>jQuery(function($) {
    $(document).ready(function() {
      $('[data-toggle=offcanvas]').click(function() {
        if ($('.sidebar-offcanvas').css('background-color') == 'rgb(255, 255, 255)') {
          $('.list-group-item').attr('tabindex', '-1');
        } else {
          $('.list-group-item').attr('tabindex', '');
        }
        $('.row-offcanvas').toggleClass('active');
  
      });
    });
  
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    padding-top: 50px;
  }
  /*
   * Style tweaks
   * --------------------------------------------------
   */
  
  html,
  body {
    overflow-x: hidden;
    /* Prevent scroll on narrow devices */
    height: 100%;
  }
  body {
    padding-top: 70px;
  }
  footer {
    padding: 30px 0;
  }
  .navbar-inverse .navbar-brand:hover,
  .navbar-inverse .navbar-brand:focus {
    background-color: transparent;
    color: #999999;
  }
  .head {
    background: #668B8B;
    color: #000000;
  }
  .side-contain {
    margin-top: 5px;
    border: 2px solid #668B8B;
    border-radius: 10px;
  }
  /*
   * Off Canvas
   * --------------------------------------------------
   * Greater thav 768px shows the menu by default and also flips the semantics
   * The issue is to show menu for large screens and to hide for small
   * Also need to do something clever to turn off the tabs for when the navigation is hidden
   * Otherwise keyboard users cannot find the focus point
   * (For now I will ignore that for mobile users and also not worry about
   * screen re-sizing popping the menu out.)
   */
  
  @media screen and (min-width: 768px) {
    .row-offcanvas {
      position: relative;
      -webkit-transition: all .25s ease-out;
      -moz-transition: all .25s ease-out;
      transition: all .25s ease-out;
    }
    .row-offcanvas-right {
      right: 25%;
    }
    .row-offcanvas-left {
      left: 25%;
    }
    .row-offcanvas-right .sidebar-offcanvas {
      right: -25%;
      /* 3 columns */
      background-color: rgb(255, 255, 255);
    }
    .row-offcanvas-left .sidebar-offcanvas {
      left: -25%;
      /* 3 columns */
      background-color: rgb(255, 255, 255);
    }
    .row-offcanvas-right.active {
      right: 0;
      /* 3 columns */
    }
    .row-offcanvas-left.active {
      left: 0;
      /* 3 columns */
    }
    .row-offcanvas-right.active .sidebar-offcanvas {
      background-color: rgb(254, 254, 254);
    }
    .row-offcanvas-left.active .sidebar-offcanvas {
      background-color: rgb(254, 254, 254);
    }
    .row-offcanvas .content {
      width: 75%;
      /* 9 columns */
      -webkit-transition: all .25s ease-out;
      -moz-transition: all .25s ease-out;
      transition: all .25s ease-out;
    }
    .row-offcanvas.active .content {
      width: 100%;
      /* 12 columns */
    }
    .sidebar-offcanvas {
      position: absolute;
      top: 0;
      width: 25%;
      /* 3 columns */
    }
  }
  @media screen and (max-width: 767px) {
    .row-offcanvas {
      position: relative;
      -webkit-transition: all .25s ease-out;
      -moz-transition: all .25s ease-out;
      transition: all .25s ease-out;
    }
    .row-offcanvas-right {
      right: 0;
    }
    .row-offcanvas-left {
      left: 0;
    }
    .row-offcanvas-right .sidebar-offcanvas {
      right: -50%;
      /* 6 columns */
    }
    .row-offcanvas-left .sidebar-offcanvas {
      left: -50%;
      /* 6 columns */
    }
    .row-offcanvas-right.active {
      right: 50%;
      /* 6 columns */
    }
    .row-offcanvas-left.active {
      left: 50%;
      /* 6 columns */
    }
    .sidebar-offcanvas {
      position: absolute;
      top: 0;
      width: 50%;
      /* 6 columns */
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
    &lt;meta name="generator" content="HTML Tidy for HTML5 (experimental) for Windows https://github.com/w3c/tidy-html5/tree/c63cc39" /&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;title&gt;Test&lt;/title&gt;
    &lt;link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" /&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;nav class="navbar navbar-inverse navbar-fixed-top"&gt;
      &lt;div class="container"&gt;
        &lt;div class="navbar-header"&gt;
          &lt;a class="navbar-brand"&gt;Test&lt;/a&gt;
        &lt;/div&gt;
        &lt;div id="navbar" class="navbar-collapse collapse"&gt;
            &lt;form action="/logoutadmin" class="navbar-form navbar-right"&gt;
              &lt;button class="btn btn-success" type="submit" id="user" onsubmit="return false"&gt;Log Out&lt;/button&gt;
            &lt;/form&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
    &lt;div class="container-fluid"&gt;
      &lt;button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas"&gt;Toggle nav&lt;/button&gt;
      &lt;div class="row row-offcanvas row-offcanvas-left"&gt;
        &lt;div class="col-xs-6 col-sm-2 sidebar-offcanvas" id="sidebar" role="navigation"&gt;
          &lt;div class="side-contain"&gt;
            &lt;div class="panel-heading head" role="tab" id="headingOne"&gt;
              &lt;h2 class="panel-title"&gt;My Account&lt;/h2&gt;
            &lt;/div&gt;
            &lt;div class="btn-group"&gt;
              &lt;button class="btn btn-default" type="button"&gt;Dropdown&lt;/button&gt;
              &lt;button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;
                &lt;span class="caret"&gt;&lt;/span&gt;
                &lt;span class="sr-only"&gt;Toggle Dropdown&lt;/span&gt;
              &lt;/button&gt;
              &lt;ul class="dropdown-menu"&gt;
                &lt;li&gt;&lt;a href="#"&gt;HTML&lt;/a&gt;
                &lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;CSS&lt;/a&gt;
                &lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;JavaScript&lt;/a&gt;
                &lt;/li&gt;
              &lt;/ul&gt;
            &lt;/div&gt;
            &lt;a href="#" class="list-group-item btn"&gt;- Placeholder&lt;/a&gt;
            &lt;a href="#" class="list-group-item btn"&gt;- Placeholder&lt;/a&gt;
            &lt;a href="#" class="list-group-item btn"&gt;- Placeholder&lt;/a&gt;
            &lt;a href="#" class="list-group-item btn"&gt;- Placeholder&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;!--/span--&gt;
        &lt;div class="col-xs-12 col-sm-10 content"&gt;
          &lt;div&gt;
            &lt;h1 class="main-head"&gt;Test&lt;/h1&gt;
            &lt;p class="lead"&gt;Hallo
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;!--/span--&gt;
      &lt;/div&gt;
      &lt;!--/row--&gt;
    &lt;/div&gt;
    &lt;!-- /.container --&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"&gt;
    &lt;/script&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have attached a JS fiddle also:
  <a href="https://jsfiddle.net/z2a7jr68/1/" rel="nofollow" title="JsFiddle">https://jsfiddle.net/z2a7jr68/1/</a></p>