Steps to replicate the issue (include links if applicable):
- Go to a item page in Wikibase Repository instance with the sitelink feature enabled
- Check the sitelinks heading
- Inspect elements by using developer tools in the browser
What happens?:
- The collapse button in sitelinks view being overlapped by the sitelinks heading, caused the button become invisible and unusable.
- Non-safemode:
- Safemode:
- Inspect elements:
What should have happened instead?:
- The collapse button in sitelinks view should be visible.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- It is also needed to make sure the fix is compatible with the RTL (right-to-left) interface for RTL languages.




