I am facing a challenge with my webpage that has two panels. The second panel includes a large table that does not fit within the width of the window, even with wrapped content. To address this issue, I added a horizontal scroll, but the div still does not adjust to the size of the table.
Here is a link to the fiddle for reference: Fiddle link
After conducting some research, I discovered a CSS solution to make the second panel fit the table size by adding the following code:
.pane {
display: table;
}
You can view the updated fiddle with this change here: updated fiddle link
However, a new issue has surfaced where the widths of the first and second panels are different. Is there a way to make the first panel take up all available width, even if it is hidden due to the horizontal scroll? Are there any pure HTML/CSS solutions for this problem?