0

How can I show the drop-down menu in the last row of the table?

When I open the drop-down list on the last line of table, it expands and creates a scrollbar. So I have to scroll to see what's in the drop-down list.

Here is a jsfiddle example https://jsfiddle.net/y03yxd2q/17/

Thanks for help!

1 Answers1

0

Add a negative top margin to the bottom li span to make the popup higher, like so :

td:nth-child(4) > div > ul > li:nth-child(1) > span
{
  margin-top:-30px;
} 
user2796515
  • 264
  • 3
  • 16