title: How to get rid of overflow cutting divs in a list?
body: <p>We are using a list for listing items(etc) on a website and are using overflow. As well, we have divs - when the mouse is hovering over the site's items, the divs will be displayed. Some items are very close to the scroll bar and their div is cutting like so:</p>
  <p><img src="https://i.gyazo.com/003ce783e8c3603b32c67499a5167696.png" alt="example" /></p>
  <p>Any help on how we can have the div continue over the scroll bar instead of cutting off at the scroll bar would be great.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>ul.purchase-list {
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  
  ul.purchase-list li {
    float: left;
    border: 2px solid #b200ff;
    border-radius: 5px;
    margin-right: 8px;
    position: relative;
    height: 170px;
    width: 170px;
    padding: 10px;
    margin-bottom: 8px;
  }
  
  .purchase-hover {
    display: none;
    position: absolute;
    width: 300px;
    background: #392067;
    border-radius: 5px;
    overflow: hidden;
    z-index: 999 !important;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .purchase-hover:hover {
    display: none !important;
    z-index: 999 !important;
  }
  
  ul.purchase-list li:last-child {
    margin-right: 0;
  }
  
  .purchase img {
    height: 150px;
    width: 150px;
    text-align: center;
  }
  
  .purchase span {
    position: absolute;
    left: -14px;
    top: -17px;
    background: #b200ff;
    font-size: 11px;
    border-radius: 50%;
    padding: 10px 5px;
    font-weight: 700;
    color: #fff;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;li class="item"&gt;
    &lt;div class="purchase"&gt;
      &lt;img src="-" style="position: absolute; z-index: -1"&gt;
      &lt;img src="-"&gt;
    &lt;/div&gt;
    &lt;div class="purchase-hover"&gt;
      &lt;div class="purchase-hover-top"&gt;
        &lt;h2&gt;Test&lt;/h2&gt;
      &lt;/div&gt;
      &lt;div class="purchase-hover-content"&gt;
        &lt;h3&gt;Test&lt;/h3&gt;
        &lt;h5&gt;Test
        &lt;/h5&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/li&gt;</code></pre>
  </div>
  </div>
  </p>