I need to add a sub-row to the last row of the table to achieve the look shown in the photo. I am attempting to use pseudo-classes for this purpose, but I am struggling with adjusting the height of the 'tr' element to accommodate the new content.
<tr class="reject">
<td class="semi-bold">2017</td>
<td class="semi-bold">Principal amount: 700.00<br>
Penalty: 0<br>
Late fee: 100</td>
<td class="semi-bold">Peugeot</td>
<td class="semi-bold">000000B1</td>
<td class="semi-bold">8 CV</td>
<td class="semi-bold">800.00</td>
<td class="semi-bold">
<span class="state">
<i class="state-suspended"></i>Rejected
</span>
</td>
</tr>
.reject {
position: relative;
}
.reject::after {
content: "lol";
position: absolute;
bottom: 0;
left: 0;
border-top: 1px solid #000;
width: 100%;
margin: 11px;
}
This is my desired outcome:
https://i.sstatic.net/NVyYZ.jpg
This is my current progress:
https://i.sstatic.net/xjeTj.jpg
The expanded table view.