Recently, I encountered a dilemma with a code snippet in my project. When viewed on mobile devices, the square boxes within the design would horizontally scroll.
Below are the CSS snippets responsible for this behavior:
@media only screen and (max-width: 767px)
{
.product-all-contents
{
overflow-x: auto;
}
.product-contents .product{
min-width: 50.795%;
margin: 0 2%;
padding-top: 3.91%;
padding-left: 3.91%;
padding-right: 3.91%;
}
}
The Issue at Hand:
I'm currently seeking advice on how to modify the CSS code within the fiddle in order to achieve a satisfactory level of padding on the extreme right side in mobile view, similar to the screenshot attached below. As it stands now, there seems to be no visible padding on the far right within the fiddle.