**List of steps to reproduce** (step by step, including full links if applicable):
* Enable the showrollbackconfirmation feature from Special:Preferences > Appearance
* Try to rollback an edit while in Mobile view (i.e. press the left button in the view below)
{F35150188}
**What happens?**:
The buttons overlap each other and become unreadable, like this:
{F35150190}
Also, if you click on Cancel (انصراف in Persian interface) then the original view above is shown but some text overlays it makes it unreadable:
{F35150192}
**What should have happened instead?**:
Proper floating of HTML elements should prevent the buttons or text to overlap.
**Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.**: current version on WMF wikis. Bug reported on behalf of @LordProfo