Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit b913eb7

Browse files
committed
fix: avatar and icon size in sidebar
1 parent ea65a91 commit b913eb7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/desktop/src/pages/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export default function Layout(props: ParentProps) {
173173
const opencode = "4b0ea68d7af9a6031a7ffda7ad66e0cb83315750"
174174

175175
return (
176-
<div class="relative size-6 shrink-0">
176+
<div class="relative size-5 shrink-0 rounded-sm overflow-hidden">
177177
<Avatar
178178
fallback={name()}
179179
src={props.project.id === opencode ? "https://opencode.ai/favicon.svg" : props.project.icon?.url}
@@ -186,7 +186,7 @@ export default function Layout(props: ParentProps) {
186186
<Show when={props.expandable}>
187187
<Icon
188188
name="chevron-right"
189-
size="large"
189+
size="normal"
190190
class="hidden size-full items-center justify-center text-text-subtle group-hover/session:flex group-data-[expanded]/trigger:rotate-90 transition-transform duration-50"
191191
/>
192192
</Show>
@@ -253,7 +253,7 @@ export default function Layout(props: ParentProps) {
253253
<Button
254254
as={"div"}
255255
variant="ghost"
256-
class="group/session flex items-center justify-between gap-3 w-full px-1 self-stretch h-auto border-none rounded-lg"
256+
class="group/session flex items-center justify-between gap-3 w-full px-1.5 self-stretch h-auto border-none rounded-lg"
257257
>
258258
<Collapsible.Trigger class="group/trigger flex items-center gap-3 p-0 text-left min-w-0 grow border-none">
259259
<ProjectAvatar

0 commit comments

Comments
 (0)