diff options
author | 2021-10-08 01:09:10 +0800 | |
---|---|---|
committer | 2021-10-08 01:09:10 +0800 | |
commit | c43d984825804a4b7f90cc947fef58ac59e1c9e6 (patch) | |
tree | 67ce1ebb7870c5c3ec1ef41a873dc55de57b74cc /source/features/quick-pr-diff-options.tsx | |
parent | 397b65a5f48c3aee24b16d480c79f751ac0cc0b4 (diff) | |
download | refined-github-c43d984825804a4b7f90cc947fef58ac59e1c9e6.tar.gz refined-github-c43d984825804a4b7f90cc947fef58ac59e1c9e6.tar.zst refined-github-c43d984825804a4b7f90cc947fef58ac59e1c9e6.zip |
Fix `quick-pr-diff-options` buttons position (#4883)
Diffstat (limited to 'source/features/quick-pr-diff-options.tsx')
-rw-r--r-- | source/features/quick-pr-diff-options.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/quick-pr-diff-options.tsx b/source/features/quick-pr-diff-options.tsx index 2bfd781c..9f598d22 100644 --- a/source/features/quick-pr-diff-options.tsx +++ b/source/features/quick-pr-diff-options.tsx @@ -70,7 +70,7 @@ function createWhitespaceButton(): HTMLElement { } function initPR(): false | void { - select('.js-file-filter')!.closest('.flex-auto')!.append( + select('.js-file-filter')!.parentElement!.append( <div className="diffbar-item d-flex">{createDiffStyleToggle()}</div>, <div className="diffbar-item d-flex">{createWhitespaceButton()}</div>, ); |