Skip to content

Commit 1cbe7b0

Browse files
iamdavidhilladamdotdevin
authored andcommitted
tweak(ui): use new-session icon in sidebar buttons
1 parent 050d71b commit 1cbe7b0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/app/src/pages/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2066,7 +2066,7 @@ export default function Layout(props: ParentProps) {
20662066
<div class="shrink-0 py-4">
20672067
<Button
20682068
size="large"
2069-
icon="plus-small"
2069+
icon="new-session"
20702070
class="w-full"
20712071
onClick={() => navigateWithSidebarReset(`/${base64Encode(p().worktree)}/session`)}
20722072
>

packages/app/src/pages/layout/sidebar-items.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export const NewSessionItem = (props: {
384384
>
385385
<div class="flex items-center gap-1 w-full">
386386
<div class="shrink-0 size-6 flex items-center justify-center">
387-
<Icon name="plus-small" size="small" class="text-icon-weak" />
387+
<Icon name="new-session" size="small" class="text-icon-weak" />
388388
</div>
389389
<span class="text-14-regular text-text-strong grow-1 min-w-0 overflow-hidden text-ellipsis truncate">
390390
{label}

packages/app/src/pages/layout/sidebar-workspace.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ const WorkspaceActions = (props: {
217217
<Show when={!props.touch()}>
218218
<Tooltip value={props.language.t("command.session.new")} placement="top">
219219
<IconButton
220-
icon="plus-small"
220+
icon="new-session"
221221
variant="ghost"
222222
class="size-6 rounded-md opacity-0 pointer-events-none group-hover/workspace:opacity-100 group-hover/workspace:pointer-events-auto group-focus-within/workspace:opacity-100 group-focus-within/workspace:pointer-events-auto"
223223
data-action="workspace-new-session"

packages/ui/src/components/button.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
font-size: var(--font-size-small);
117117
line-height: var(--line-height-large);
118-
gap: 4px;
118+
gap: 8px;
119119

120120
/* text-12-medium */
121121
font-family: var(--font-family-sans);
@@ -135,7 +135,7 @@
135135
}
136136

137137
font-size: var(--font-size-small);
138-
gap: 6px;
138+
gap: 8px;
139139

140140
/* text-12-medium */
141141
font-family: var(--font-family-sans);
@@ -153,7 +153,7 @@
153153
padding: 0 12px 0 8px;
154154
}
155155

156-
gap: 4px;
156+
gap: 8px;
157157

158158
/* text-14-medium */
159159
font-family: var(--font-family-sans);

0 commit comments

Comments
 (0)