I am facing a challenge with making the second cell in my table have a width of 100% while ensuring that the text stays on one line.
While the mobile version is functioning correctly, I am struggling to find a solution for the desktop version as the last cells are not collapsing the text in the second cell.
If you'd like to view the source code, please visit this CodePen link.
I did try the following approach:
table {
table-layout: fixed;
width: 100%;
}
However, this ended up making all cell widths even. My goal is to have the second cell occupy full width while allowing the rest of the cells to adjust based on their content.
Thank you!