diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index b6d49e235e88184e995005d98f8263a34f347d2e..0d7ce91b374ce73eae93bf7ceb4786457a316019 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -1,4 +1,10 @@ -import { ChevronRightIcon, FolderIcon, GitPullRequestIcon, RocketIcon, TerminalIcon } from "lucide-react"; +import { + ChevronRightIcon, + FolderIcon, + GitPullRequestIcon, + RocketIcon, + TerminalIcon, +} from "lucide-react"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { DEFAULT_MODEL, @@ -783,8 +789,7 @@ export default function Sidebar() { } if (!isChatNewShortcut(event, keybindings)) return; - const projectId = - activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id; + const projectId = activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id; if (!projectId) return; event.preventDefault(); void handleNewThread(projectId, { @@ -927,7 +932,7 @@ export default function Sidebar() { type="button" aria-label={desktopUpdateTooltip} disabled={desktopUpdateButtonDisabled} - className={`inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`} + className={`inline-flex size-7 ml-auto mt-2 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`} onClick={handleDesktopUpdateButtonClick} >