I am working on a design where clicking on an image will reveal additional information in a collapsible div underneath the image row. The challenge I'm facing is ensuring that this collapsible div spans across the full container regardless of screen size.
Currently, my implementation results in the collapsible div with class ".info" shifting left and right based on which image is clicked. My goal is to have the ".info" div remain fixed within the container for all rows.
For instance, when an image from the first row is clicked, the corresponding ".info" div should display the information. Then, if an image from the third row is clicked, the content in the same position changes without moving the ".info" div. Furthermore, clicking an image from the second row should close the previously open ".info" and reveal the new content under the second row while spanning the full width of the container.