title: How to hover the complete row in css?
body: <p>I have a screenshot as shown below which I have replicated in HTML, CSS and JS. </p>
  
  <p><a href="https://i.stack.imgur.com/eJFL6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eJFL6.jpg" alt="enter image description here"></a></p>
  
  <p>I have created the <a href="https://jsfiddle.net/nc2djn5p/31/embedded/result/" rel="nofollow noreferrer">fiddle</a> for the above screenshot. <strong>The above screen-shot portion is at the extreme right in the fiddle</strong>. On clicking three dots, the drop-down menu appears. </p>
  
  <p><br>
  The HTML and CSS codes which I have used in order to create the drop-down is:</p>
  
  <p><strong>HTML</strong>:</p>
  
  <pre><code>&lt;div class="nav-top-searchbar"&gt;
      &lt;form&gt;
          &lt;span class="fa fa-search searchicon fa-lg" aria-hidden="true"&gt;&lt;/span&gt;
          &lt;input type="text" name="search"&gt;
          &lt;div style=""&gt;
              &lt;img tabindex="1" src="https://s9.postimg.org/d6s4xvykv/Ellipsis.png" id="ellipsis"&gt;
              &lt;div class="dropdown"&gt;
                  &lt;li&gt;&lt;a href="#"&gt;View Status&lt;/a&gt;&lt;i class="fa fa-angle-down" aria-hidden="true"&gt;&lt;/i&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Release Bills&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Add Attendee&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Export as&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;View in Google Sheets&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Send Notifications&lt;/a&gt;&lt;/li&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
  
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CSS:</strong></p>
  
  <pre><code>// General CSS
  .nav-top-searchbar {
      position: relative;
  }
  
  #ellipsis {
      top: 12px;
      position: absolute;
      right: 43px;
      cursor: pointer;
  }
  
  #ellipsis:focus {
      outline: none;
  }
  
  #ellipsis:focus+.dropdown {
      display: block;
  }
  
  input[type=text] {
      width: 100%;
      background: #10314c;
  }
  
  .dropdown {
      background-color: #FFFFFF;
      display: none;
      padding-left: 2%;
      position: absolute;
      /* height: 150px; */
      right: 0;
      width: 200px;
      z-index: 10;
      list-style-type: none;
      padding-top: 25px;
      padding-bottom: 25px;
      box-shadow: 0 0 15px #888;
      top: 2px;
  }
  
  .searchicon {
      float: left;
      margin-top: -20px;
      position: relative;
      top: 26px;
      left: 8px;
      color: white;
      border: 1px solid #FFFFFF;
      z-index: 2;
      padding: 3px;
  }
  
  .dropdown a {
      color: #676767;
      font-weight: bold;
      font-size: 14px;
  }
  
  .dropdown li:hover {
      background-color: #EDEDED;
  }
  </code></pre>
  
  <p><br><br>
  <strong>Problem Statement:</strong> </p>
  
  <p>In my fiddle, <strong>the hover doesn't cover the entire row</strong>. It only covers 80% of the row. I am wondering what changes do I need to make in the above CSS codes so that <strong>the hover covers the entire row</strong>. </p>