Skip to content

Fix tab background color on MR tabs when Sourcegraph enabled

Simon Knox requested to merge psimyn-master-patch-74026 into master

What does this MR do and why?

Fix tab background color on MR tabs when Sourcegraph enabled - !127305 (comment 1511787772)

Sourcegraph CSS was adding --gray-10, which was previously assumed to only exist in dark mode.

This is the background color of the wrapper element, so it's never visible over the background. The sticky mr tabs have a different background color set

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image

How to set up and validate locally

  1. Use light mode
  2. Enable sourcegraph (or, set a value for --gray-10 in CSS devtools)
  3. Load MR page
  4. Check tab background color

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Simon Knox

Merge request reports

Loading