Fix button styling and repo list layout

This commit is contained in:
OpenCode Agent committed 2025-12-22 02:21:51 +00:00
1 parent 277b5456a3
commit c884656d8a
2 files changed
+11 -11

No files matched your search

@@ -564,15 +564,15 @@ export const PromptInput = forwardRef<PromptInputHandle, PromptInputProps>(funct
<Square className="w-4 h-4" />
</button>
)}
<button
data-submit-prompt
onClick={handleSubmit}
disabled={!prompt.trim() || disabled}
className="px-5 md:px-6 py-1.5 md:py-2 rounded-lg text-sm font-medium transition-colors bg-primary hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed text-primary-foreground dark:border dark:border-white/30"
title={hasActiveStream ? 'Queue message' : 'Send'}
>
{hasActiveStream ? 'Queue' : 'Send'}
</button>
<button
data-submit-prompt
onClick={handleSubmit}
disabled={!prompt.trim() || disabled}
className="px-4 md:px-5 py-1.5 md:py-2 rounded-lg text-sm font-medium transition-colors bg-primary hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed text-primary-foreground dark:border dark:border-white/30 flex-shrink-0 min-w-[52px]"
title={hasActiveStream ? 'Queue message' : 'Send'}
>
<span className="whitespace-nowrap">{hasActiveStream ? 'Queue' : 'Send'}</span>
</button>
</div>
</div>
+2 -2
View File
@@ -192,8 +192,8 @@ export function RepoList() {
</DropdownMenu>
</div>
<div className="border border-border rounded-lg bg-card/50 mx-2 md:mx-0">
<div className="h-[calc(100dvh-180px)] md:h-[calc(100vh-220px)] overflow-y-auto p-3 md:p-4">
<div className="mx-2 md:mx-0">
<div className="h-[calc(100dvh-180px)] md:h-[calc(100vh-220px)] overflow-y-auto py-2 md:py-0">
{filteredRepos.length === 0 ? (
<div className="text-center p-12">
<Search className="w-12 h-12 mx-auto mb-4 text-zinc-600" />