From 7559f5ad70349b62d919e4a488ff70cc8c7847c6 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 3 Mar 2026 19:32:41 -0800 Subject: [PATCH] style --- apps/web/src/components/Sidebar.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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} > -- 2.54.0