Skip to content

Commit 72d3e13

Browse files
committed
fix(web): compact project settings actions
1 parent d937e30 commit 72d3e13

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

‎apps/web/src/components/settings/ProjectSettingsPanel.tsx‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
784784

785785
return (
786786
<>
787-
<SettingsPageContainer>
787+
<SettingsPageContainer width="wide" className="gap-8">
788788
<SettingsSection title="Project">
789789
<SettingsRow
790790
title="Name"
@@ -842,9 +842,6 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
842842
</div>
843843
}
844844
/>
845-
</SettingsSection>
846-
847-
<SettingsSection title="New threads">
848845
<SettingsRow
849846
title="Model"
850847
description="New threads in this project start with this model. Applies to every checkout in this group."
@@ -1131,10 +1128,7 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
11311128
icon={script.icon}
11321129
className="size-4 shrink-0 text-muted-foreground"
11331130
/>
1134-
<span className="max-w-40 shrink-0 truncate">{script.name}</span>
1135-
<code className="min-w-0 flex-1 truncate font-mono font-normal text-muted-foreground">
1136-
{script.command}
1137-
</code>
1131+
<span className="min-w-0 truncate">{script.name}</span>
11381132
{script.runOnWorktreeCreate ? (
11391133
<span className="shrink-0 rounded-sm border border-border/60 px-1.5 py-px text-[11px] font-normal text-muted-foreground">
11401134
setup
@@ -1147,6 +1141,9 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {
11471141
) : null}
11481142
</span>
11491143
}
1144+
description={
1145+
<code className="block max-w-full truncate font-mono">{script.command}</code>
1146+
}
11501147
control={
11511148
<>
11521149
{shortcutLabel ? (

0 commit comments

Comments
 (0)