Steps to replicate the issue (include links if applicable):
What happens?:
When clicking on any edit link on any Wikidata item/property page with RTL languages, a very long horizontal scroll bar will be created as you can see in the images below. This has only been noticed in Firefox.
What should have happened instead?:
That x-scroll bar should not be created when clicking on edit links.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Browser name: Firefox
Browser version: 104.0.1
Before clicking the edit link
After clicking the edit link:
Notice the x-scroll bar.