Skip to content

Commit 2626fd3

Browse files
Fix repo card button layout and mobile branch switcher
1 parent e45ebd9 commit 2626fd3

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

frontend/src/components/repo/RepoCard.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export function RepoCard({
106106
<span>Cloning repository...</span>
107107
</div>
108108
)}
109-
<div className="flex gap-2 flex-wrap">
110-
<Button
109+
<div className="flex gap-2">
110+
<Button
111111
size="sm"
112112
onClick={(e) => {
113113
e.stopPropagation();
@@ -127,7 +127,8 @@ export function RepoCard({
127127
isWorktree={repo.isWorktree}
128128
repoUrl={repo.repoUrl}
129129
repoLocalPath={repo.localPath}
130-
className="h-10 sm:h-9 w-[140px] max-w-[140px]"
130+
iconOnly={true}
131+
className="h-10 sm:h-9 w-10"
131132
/>
132133
)}
133134

@@ -172,7 +173,8 @@ export function RepoCard({
172173
) : (
173174
<Trash2 className="w-4 h-4" />
174175
)}
175-
</Button> </div>
176+
</Button>
177+
</div>
176178
</div>
177179
</div>
178180

0 commit comments

Comments
 (0)