MCPcopy Index your code
hub / github.com/refined-github/refined-github / fixFileHeaderOverlap

Function fixFileHeaderOverlap

source/github-helpers/index.ts:186–189  ·  view source on GitHub ↗
(child: Element)

Source from the content-addressed store, hash-verified

184
185// Fix z-index issue https://github.com/refined-github/refined-github/pull/7430
186export function fixFileHeaderOverlap(child: Element): void {
187 // In the sidebar the container is not present and this fix is not needed
188 closestElementOptional('.container', child)?.classList.add('rgh-z-index-5');
189}
190
191/** Trigger a reflow to push the right-most tab into the overflow dropdown */
192export function triggerRepoNavOverflow(): void {

Callers 1

addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected