How to get horizontal scrolling padding only at beginning and end

I’m a beginner to Figma. As one of my first projects, I’m trying to recreate the Spotify app homepage. There is supposed to be padding only on the beginning and end cards. Scrolling in the middle should have the cards extend from end to end without padding.

I added left padding to the beginning card, but can’t figure out how to add right padding to the end card. The inner auto frame has no padding and fits all the cards (individual cards have the rectangle and artist text grouped). The outer auto frame is the fixed screen width and has left and right margins of 21, clip content, and horizontal scrolling.

For this case I usually add an invisible line at the end. Hope this helps:

1 Like

Thank you so much!