Skip to content

Commit 6d952b9

Browse files
Reduce sidebar font one step smaller
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3bdd7b1 commit 6d952b9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/app/src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function Shell(): React.ReactElement {
222222
key={n.id}
223223
onClick={() => (n.id === 'chat' ? newChat() : setNav(n.id))}
224224
className={cls(
225-
'no-drag mb-0.5 flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-[15px] font-medium transition-colors',
225+
'no-drag mb-0.5 flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-sm font-medium transition-colors',
226226
active ? 'bg-accent/20 text-text' : 'text-muted hover:bg-panel2 hover:text-text',
227227
)}
228228
>
@@ -252,7 +252,7 @@ function Shell(): React.ReactElement {
252252
onClick={() => toggleProject(p.cwd)}
253253
title={p.cwd}
254254
className={cls(
255-
'no-drag flex w-full items-center gap-1.5 rounded-md px-1.5 py-1.5 text-left text-[15px] font-medium transition-colors hover:bg-panel2',
255+
'no-drag flex w-full items-center gap-1.5 rounded-md px-1.5 py-1.5 text-left text-sm font-medium transition-colors hover:bg-panel2',
256256
project === p.cwd ? 'text-text' : 'text-muted hover:text-text',
257257
)}
258258
>
@@ -274,7 +274,7 @@ function Shell(): React.ReactElement {
274274
onClick={() => openChat(c)}
275275
title={c.title}
276276
className={cls(
277-
'no-drag flex w-full items-center rounded-md px-2 py-1 text-left text-sm transition-colors',
277+
'no-drag flex w-full items-center rounded-md px-2 py-1 text-left text-[13px] transition-colors',
278278
nav === 'chat' && chatId === c.id ? 'bg-panel2 text-text' : 'text-muted hover:bg-panel2 hover:text-text',
279279
)}
280280
>
@@ -525,7 +525,7 @@ function SidebarSettings({
525525
<button
526526
onClick={() => setOpen((o) => !o)}
527527
className={cls(
528-
'no-drag flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-[15px] font-medium transition-colors',
528+
'no-drag flex w-full items-center gap-2.5 rounded-md px-2 py-1.5 text-left text-sm font-medium transition-colors',
529529
active || open ? 'bg-accent/20 text-text' : 'text-muted hover:bg-panel2 hover:text-text',
530530
)}
531531
>

0 commit comments

Comments
 (0)