mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Fix repo card button layout and mobile branch switcher
This commit is contained in:
1 parent
e45ebd96a0
commit
2626fd3ccb
1 file changed
+6
-4
@@ -106,8 +106,8 @@ export function RepoCard({
|
||||
<span>Cloning repository...</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex gap-2 flex-wrap">
|
||||
<Button
|
||||
<div className="flex gap-2">
|
||||
<Button
|
||||
size="sm"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
@@ -127,7 +127,8 @@ export function RepoCard({
|
||||
isWorktree={repo.isWorktree}
|
||||
repoUrl={repo.repoUrl}
|
||||
repoLocalPath={repo.localPath}
|
||||
className="h-10 sm:h-9 w-[140px] max-w-[140px]"
|
||||
iconOnly={true}
|
||||
className="h-10 sm:h-9 w-10"
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -172,7 +173,8 @@ export function RepoCard({
|
||||
) : (
|
||||
<Trash2 className="w-4 h-4" />
|
||||
)}
|
||||
</Button> </div>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user