mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
fix: align Home button size and position in RepoQuickSwitchSheet
This commit is contained in:
1 parent
a311cdbb98
commit
5b7e56ccda
1 file changed
+10
-9
@@ -84,6 +84,16 @@ export function RepoQuickSwitchSheet({ isOpen, onClose }: RepoQuickSwitchSheetPr
|
||||
<BottomSheet isOpen={isOpen} onClose={onClose} heightClass="h-[70dvh]" ariaLabel="Switch repo">
|
||||
<BottomSheetHeader>
|
||||
<div className="flex items-center gap-2">
|
||||
<Button
|
||||
type="button"
|
||||
size="sm"
|
||||
onClick={handleHomeClick}
|
||||
className="flex-shrink-0"
|
||||
>
|
||||
<House className="h-4 w-4" />
|
||||
<span className="hidden sm:inline">Home</span>
|
||||
<span className="sr-only">Home</span>
|
||||
</Button>
|
||||
<Input
|
||||
type="text"
|
||||
placeholder="Search projects..."
|
||||
@@ -94,15 +104,6 @@ export function RepoQuickSwitchSheet({ isOpen, onClose }: RepoQuickSwitchSheetPr
|
||||
autoComplete="off"
|
||||
name="repo-quick-switch"
|
||||
/>
|
||||
<Button
|
||||
type="button"
|
||||
size="icon-sm"
|
||||
variant="outline"
|
||||
onClick={handleHomeClick}
|
||||
>
|
||||
<House className="h-4 w-4" />
|
||||
<span className="sr-only">Home</span>
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
size="sm"
|
||||
|
||||
Reference in new issue
Block a user