I have a div inside a td,
.role_color {
display: inline-block;
align-items: stretch;
width: 2px;
height: 50px;
margin-right: 10px;
}
<tr>
<td>
<div class="role_color"
title="Prueba"
style="background-color: #6a1b9a"></div>
Nombre
</td>
<td>Apellido</td>
<td>Pais</td>
</tr>
And what I want to get is that the div occupies me the entire height of that cell
Using height 100% does not work and 100vh makes the cell bigger