Readme: Fix anchor overflow behavior when collapsed (Firefox)
What does this MR do and why?
Readme: Fix anchor overflow behavior when Readme is collapsed and an anchor from the readme is set in Firefox.
Reported by @marc_shaw in #431615 (comment 1769903742)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Go to a profile page with a readme
- If there is no readme follow these steps to create one (https://docs.gitlab.com/ee/user/profile/#add-details-to-your-profile-with-a-readme)
- Click on «Read more»
- Click on an headline anchor
- Reload the page
Related to #431615 (closed), #424397 (closed)
Edited by Sascha Eggenberger