How to resolve compatibility issues caused by fixed gaps to make the layout adaptable to different devices
Here is my code, it works great in my computer. However, “gap: 50px”, this fixed gap makes it lose compatibility.On other computers, the content might overflow the container.
How to implement a list item component with adaptive width to fill the parent container
The result I have right now is like this.