Skip to content

Readme: Fix anchor overflow behavior when collapsed (Firefox)

Sascha Eggenberger requested to merge readme-fix-overflow-anchor into master

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
before after

How to set up and validate locally

  1. Go to a profile page with a readme
  2. 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)
  3. Click on «Read more»
  4. Click on an headline anchor
  5. Reload the page

Related to #431615 (closed), #424397 (closed)

Edited by Sascha Eggenberger

Merge request reports