update button styling for debug pane

This commit is contained in:
lemonknowsall committed 2026-01-23 00:56:48 -08:00
1 parent 4623bccc5f
commit a150ec62a2
2 files changed
+11 -11

No files matched your search

+5 -5
View File
@@ -170,17 +170,17 @@ export function BranchSwitcher({ projectId, className }: BranchSwitcherProps) {
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button
variant="outline"
variant="ghost"
size="sm"
className={cn("gap-1 sm:gap-2 hover:bg-secondary/10 hover:border-secondary/20", className)}
className={cn("h-7 text-xs gap-1.5", className)}
disabled={isSwitching}
>
{isSwitching ? (
<Loader2 className="h-4 w-4 animate-spin" />
<Loader2 className="h-3 w-3 animate-spin" />
) : (
<GitBranch className="h-4 w-4" />
<GitBranch className="h-3 w-3" />
)}
<span className=" max-w-[120px] truncate">{currentBranch}</span>
<span className="max-w-[120px] truncate">{currentBranch}</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end" className="w-56">
+6 -6
View File
@@ -824,17 +824,17 @@ export function PreviewPane({ projectId, activeTab, onToggleView, isPreviewable
variant="ghost"
size="sm"
onClick={copyAllMessagesToClipboard}
className="h-7 px-2 text-xs"
className="h-7 text-xs gap-1.5"
>
{copiedAll ? (
<>
<Check className="h-3 w-3 mr-1.5 text-success" />
{t('copied')}
<Check className="h-3 w-3 text-success" />
<span className="hidden sm:inline">{t('copied')}</span>
</>
) : (
<>
<Copy className="h-3 w-3 mr-1.5" />
{t('copyAll')}
<Copy className="h-3 w-3" />
<span className="hidden sm:inline">{t('copyAll')}</span>
</>
)}
</Button>
@@ -851,7 +851,7 @@ export function PreviewPane({ projectId, activeTab, onToggleView, isPreviewable
size="sm"
onClick={handleFileSave}
disabled={!hasUnsavedChanges || isSaving || isLoading}
className="h-7 gap-1.5 text-xs"
className="h-7 text-xs gap-1.5"
>
{isSaving ? (
<>