Skip to content

Fixed merge request tabs extra margin

Phil Hughes requested to merge mr-tabs-container-offset into master

What does this MR do?

Fixed extra margin when the merge request tabs are affixed

This was caused by some weird padding that was on the container & then not correctly removed.

The fix involved removing the container from inside the tabs holder div & then adding the widths through CSS depending on if fixed & whether the parent is limited width or not.

This has been tested with both sidebars open & closed & with both fluid & limited settings.

Screenshots (if relevant)

tabs

What are the relevant issue numbers?

Closes #26853 (closed)

Merge request reports