summaryrefslogtreecommitdiff
path: root/source/features/default-branch-button.tsx
diff options
context:
space:
mode:
authorGravatar Florent <cheap.glitch@gmail.com> 2021-05-23 18:35:25 +0200
committerGravatar GitHub <noreply@github.com> 2021-05-23 23:35:25 +0700
commitb48d3ebfa0ea467aefe5d33741b364212874efbb (patch)
treed9bf86615ea9ec45fc1da49d0f674844ac4ab5f9 /source/features/default-branch-button.tsx
parentc8500d01f88fca2a16bf5091117b68e8de32baa1 (diff)
downloadrefined-github-b48d3ebfa0ea467aefe5d33741b364212874efbb.tar.gz
refined-github-b48d3ebfa0ea467aefe5d33741b364212874efbb.tar.zst
refined-github-b48d3ebfa0ea467aefe5d33741b364212874efbb.zip
Fix branch switcher conflict with `default-branch-button` (#4385)
Diffstat (limited to 'source/features/default-branch-button.tsx')
-rw-r--r--source/features/default-branch-button.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/features/default-branch-button.tsx b/source/features/default-branch-button.tsx
index 6d4417f8..f1347db9 100644
--- a/source/features/default-branch-button.tsx
+++ b/source/features/default-branch-button.tsx
@@ -49,6 +49,7 @@ async function init(): Promise<false | void> {
}
branchSelector.parentElement!.before(defaultLink);
+ branchSelector.parentElement!.style.zIndex = 'auto'; // For #4240
groupButtons([defaultLink, branchSelector.parentElement!]).classList.add('d-flex');
branchSelector.style.float = 'none'; // Pre "Repository refresh" layout
}