Cards in a slider next to each other not spaced out

I might be going crazy but if I have a slider with a number of “Slides per view” defined as 4, but I only have 2 cards because this is all the back end returned, how do I make them to be next to each other? Right now they are spacing out to fill the slider.

Also to make it responsive, do I need to actually calculate each break point and change dynamically the number of slides?

Thanks!