fix(app): close review pane

This commit is contained in:
adamelmore
2026-01-28 10:26:55 -06:00
parent af3c97f192
commit f607353be6
6 changed files with 41 additions and 83 deletions

View File

@@ -280,17 +280,14 @@ export function SessionHeader() {
</TooltipKeybind>
</div>
<div class="hidden md:block shrink-0">
<TooltipKeybind
title={language.t("command.fileTree.toggle")}
keybind={command.keybind("fileTree.toggle")}
>
<TooltipKeybind title={language.t("command.review.toggle")} keybind={command.keybind("review.toggle")}>
<Button
variant="ghost"
class="group/file-tree-toggle size-6 p-0"
onClick={() => layout.fileTree.toggle()}
aria-label={language.t("command.fileTree.toggle")}
aria-label={language.t("command.review.toggle")}
aria-expanded={layout.fileTree.opened()}
aria-controls="file-tree-panel"
aria-controls="review-panel"
>
<div class="relative flex items-center justify-center size-4 [&>*]:absolute [&>*]:inset-0">
<Icon