diff --git a/src/main.ts b/src/main.ts index cc8e720..8d82b4c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -69,7 +69,7 @@ export default class GitHubSyncPlugin extends Plugin { if (leaves.length > 0) { leaf = leaves[0]; } else { - leaf = workspace.getRightLeaf(false)!; + leaf = workspace.getLeaf(false)!; await leaf.setViewState({ type: CONFLICTS_RESOLUTION_VIEW_TYPE, active: true, diff --git a/src/views/conflicts-resolution/actions-gutter.tsx b/src/views/conflicts-resolution/actions-gutter.tsx index f2c690a..2df92fa 100644 --- a/src/views/conflicts-resolution/actions-gutter.tsx +++ b/src/views/conflicts-resolution/actions-gutter.tsx @@ -177,6 +177,7 @@ const ActionsGutter: React.FC = ({ height: "100%", overflow: "hidden", position: "relative", + backgroundColor: "var(--background-secondary)", }} > = ({
setCurrentFile(index)} > -
+
= ({