JSFiddle - React, Tailwind, and code Playground

HTML

<div class='all-menu'>
 <div class='menu'>
    <a href='#'>Пункт меню</a>
    <div class='abs'>
      <table class='cart_table'>
        <tr>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
          <td>Текст Текст Текст</td>
        </tr>
      </table>
    </div>
  </div>
</div>

CSS

.all-menu {
    position: relative;
}
.all-menu:after {
    content:'';
    display:block;
    clear:both;
}
.menu {
   float:right;
   background-color: #000;
}

.menu a:link {
  display: block;
  text-decoration: none;
  height: 40px;
  line-height: 40px;
  color: #ffffff;
  float: left;
  padding: 0 15px;
}

.abs {
  display: block;
    top: 50px;
    right: 0;
    position: absolute;
    max-height: 560px;
    box-sizing: border-box;
    padding: 10px;
    float: left;
    background-color: rgba(0,0,0,0.8);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.cart_table {
    max-height: 388px;
}

.cart_table tr {
    height: 30px;
    min-width: 410px;
    max-width: 840px;
}

.cart_table tr:hover {
    background-color: #000000;
}

.cart_table td {
    height: 30px;
    padding: 0 10px 0 0;
    color: #ffffff;
}