Text should not go out off the screen when we swipe ion-list



I am using this ion-list with swipe.

As you can see in the example, when we swipe a row, 2 buttons appear and title (“Item1”) goes out off the screen.
But my requirement is that When I swipe, Content (“Item1”) should remain there. It should not go out of the screen.

I have tried so many things in CSS like setting position and all. But none of them worked. Can anyone tell me some solution to do this?



It’s an urgent requirement. So, Any quick solution for this?