title: bootstrap dropdown menu going behind content on small screens
body: <p>I did a dropdown with bootstrap but it looks really bad when i resize the screen to a small size, it works fine normally but the dropdown starts hiding behind the other content when small</p>
  
  <p><a href="https://i.stack.imgur.com/YE3th.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YE3th.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/nRCCR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nRCCR.jpg" alt="enter image description here"></a></p>
  
  <p>Is there anyway for it to go on top of the other content?</p>
  
  <p>relevant html</p>
  
  <pre><code>&lt;div class="container-fluid no-padding"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-xs-12"&gt;
        &lt;nav class="navbar navbar-inverse nav-row"&gt;
          &lt;a class="navbar-brand" href="#"&gt;Locket&lt;/a&gt;
          &lt;ul class="nav navbar-nav navbar-right"&gt;
            &lt;li class="dropdown"&gt;
              &lt;a href="#" class="dropdown-toggle dropdown-display" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;{{currentUser}}&lt;/a&gt;
  
              &lt;ul class="dropdown-menu"&gt;
                &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
                &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
                &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
                &lt;li ng-click="logout()"&gt;&lt;a href="#"&gt;Log Out&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/nav&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="row"&gt;
  
      &lt;div class="col-xs-4 friendListWindow"&gt;
        &lt;p class="windowTitle text-center"&gt;Friends List&lt;/p&gt;
        &lt;form class='form-control-inline' ng-submit='addFriend(newFriendUsername)' name='addFriendForm'&gt;
          &lt;div class='form-group'&gt;
            &lt;input autocomplete='off' class='form-control input-display' type='text' name='newFriendUsername' ng-model='newFriendUsername' required/&gt;
            &lt;button class='btn btn-default button-display form-control' type='submit' ng-disabled='!addFriendForm.$valid'&gt;&lt;span class="glyphicon glyphicon-plus" aria-hidden="true"&gt;&lt;/span&gt;&lt;/button&gt;
          &lt;/div&gt;
        &lt;/form&gt;
  
        &lt;span ng-if='sentRequest' class="friendReqSent"&gt;{{friendReqMsg}}&lt;/span&gt;
        &lt;p class="friendHeaders"&gt;Friend Requests&lt;/p&gt;
        &lt;div class="friendRequests"&gt;
          &lt;ul class="friendList"&gt;
            &lt;li class="friendRequest" ng-repeat='friend in friendRequests track by $index'&gt;
              &lt;div class='form-control-inline'&gt;
                &lt;span&gt;New friend request from: {{friend}}&lt;/span&gt;
                &lt;div class="friendRequestOptions"&gt;
                  &lt;button class='btn btn-default friendButton'&gt;&lt;span class='glyphicon glyphicon-ok vertical-center' aria-hidden='true' ng-click='acceptFriendRequest(friend)'&gt;&lt;/span&gt;&lt;/button&gt;
                  &lt;button class='btn btn-default friendButton'&gt;&lt;span class='glyphicon glyphicon-remove vertical-center' aria-hidden='true' ng-click='ignoreFriendRequest(friend)'&gt;&lt;/span&gt;&lt;/button&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
          &lt;div class="acceptedfriendRequests"&gt;
            &lt;ul class="friendList"&gt;
              &lt;li class="friendRequest" ng-repeat='friend in acceptedfriendRequests track by $index'&gt;
                &lt;span&gt;{{friend}} accepted your friend request&lt;/span&gt;
                &lt;button class='btn btn-default friendButton'&gt;&lt;span class='glyphicon glyphicon-ok vertical-center' aria-hidden='true' ng-click='acknowledgeFriendRequest(friend)'&gt;&lt;/span&gt;&lt;/button&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>css:</p>
  
  <pre><code>html, body {
    height: 100%;
    font: 300 16px/22px "Roboto", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  
  p {
    margin-left: 10px;
  }
  
  ul {
    margin: 0;
  }
  
  img {
    width: 100%;
  }
  
  .icon {
    max-width: 20px;
    margin: 0;
  }
  
  .form-group {
    margin-bottom: 0;
  }
  
  .messages {
    padding-bottom: 5px;
  }
  
  .message-right {
    text-align: right;
  }
  
  .message-left {
    text-align: left;
  }
  
  .messageText {
    border-color: transparent;
    border-radius: 15px;
    display: inline-block;
    padding: 6px;
  }
  
  .wrapMessage {
    width: 300px;
    word-break: break-word;
    text-align: left;
  }
  
  .messageTextFrom {
    background-color: aliceblue;
  }
  
  .messageTextTo {
    background-color: beige;
  }
  
  .chatWindow {
    height: 95vh;
    padding-left: 0;
  }
  
  .friendHeaders {
    font-size: 18px;
    padding-top: 10px;
    margin-left: 10px;
  }
  
  .friendSearch {
    width: 60%;
    display: inline;
    vertical-align: middle;
    float:right;
    margin: 8px 13px 5px 5px;
    max-height: 26px;
  }
  
  .friendRequests {
    border-bottom: 1px solid lightgray;
  }
  
  .friendRequest {
    border-top: 1px solid lightgray;
    padding: 10px;
  }
  
  .friendRequestOptions {
    display: inline;
  }
  
  .friendListWindow {
    height: 95vh;
    border-right: 1px solid lightgray;
    padding-right: 0;
  }
  
  .friendList {
    list-style: none;
    padding-left: 0;
  }
  
  .friendPanel {
    border-left: 0px;
    border-right: 0px;
    border-radius: 0px;
    padding: 10px 10px 10px 10px;
    margin-bottom: 0px;
  }
  
  .activeFriendPanel {
    background-color: #bfd4d9;
  }
  
  .friendArrow {
    float: right;
    color: #ddd;
  }
  
  .friendReqSent {
    display: inline-block;
    float: right;
    font-size: 16px;
    padding: 10px;
  }
  
  .friendButton {
    display: inline;
    padding: 0 10px 0 10px;
    float: right;
  }
  
  .messageList {
    height: 82.5vh;
    overflow: auto;
  }
  
  .friendScroll {
    height: 70vh;
    overflow: auto;
  }
  
  .dropdown-toggle {
    margin-right: 34px;
    color: #bfd4d9 !important;
  }
  
  .navbar {
    position:relative;
    z-index: 1000;
  }
  
  
  .navbar-brand {
    font-family: "Roboto", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #bfd4d9 !important;
    text-transform: uppercase;
    margin-left: 13px !important;
    font-size: 28px;
  }
  
  .unreadMessage {
    display: inline-block;
    background-color: lavender;
    border-radius: 10px;
    padding: 5px;
    color: black;
  }
  
  .loginFailed {
    float: left;
    color: white;
    margin-top: 3px;
    margin-right: 8px;
  }
  
  img {
    margin-top: 30px;
    margin-left: 24px;
  }
  
  .no-padding {
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .nav-row {
    margin-bottom: 0px;
    height: 5vh;
    background-color: #252839;
    border-color: #252839;
    border-radius: 0;
  }
  
  .form-control-inline {
    min-width: 0;
    width: auto;
    display: inline;
    vertical-align: middle;
    position: relative;
  }
  
  .input-display {
    width: 90%;
    display: inline;
    vertical-align: middle;
  }
  
  .button-display {
    width: 8%;
    display: inline;
    vertical-align: middle;
    text-align: center;
    border: none;
  }
  
  .windowTitle {
    border-bottom: 1px solid lightgray;
    padding: 5px 0px 5px 0px;
    font-size: 18px;
    font-weight: bold;
    margin-left: 0;
  }
  
  .btn {
    font-family: "Roboto", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  
  .navbar-right {
    margin-right: 0;
    position:relative;
  }
  
  .dropdown-display {
    margin-right: 13px;
  }
  
  .vertical-center {
    vertical-align: middle;
  }
  
  .friendButton {
    width: 8%;
    float: right;
    border: none;
    margin-left: 10px;
    padding-bottom: 5px;
  }
  
  .encryptionIndicator {
    display: inline-block;
    float: right;
    padding-right: 10px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .encryptionOn {
    color: green;
  }
  
  .encryptionOff {
    color: red;
  }
  </code></pre>