(child: Element)
| 184 | |
| 185 | // Fix z-index issue https://github.com/refined-github/refined-github/pull/7430 |
| 186 | export 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 */ |
| 192 | export function triggerRepoNavOverflow(): void { |