I am working on a bootstrap-4 grid card layout for my page. On mobile devices in portrait view, I want the cards to be displayed 2 up. However, I am facing an issue where there is extra padding between the cards compared to the padding on the outside edges. This is because the left and right card paddings are meeting in between the two adjacent cards.
Since the number of cards can vary significantly from 1 to 99, I am unsure how to adjust the inner padding to achieve a more consistent look. Please refer to the image for a visual representation: Green indicates the left and right padding, while gray represents the actual card area.