Normalize desktop icon sizing (#999)

This commit is contained in:
klopez4212
2026-06-15 20:43:49 +01:00
committed by GitHub
parent 7a2e35521c
commit 19656fff46
84 changed files with 253 additions and 206 deletions
@@ -99,7 +99,7 @@ export function ChannelCombobox({
<span className="truncate">
{selected ? formatChannelLabel(selected) : "Select a channel..."}
</span>
<ChevronsUpDown className="ml-2 h-3.5 w-3.5 shrink-0 text-muted-foreground" />
<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 text-muted-foreground" />
</button>
</PopoverTrigger>
<PopoverContent
@@ -107,10 +107,11 @@ export function ChannelCombobox({
className="w-(--radix-popover-trigger-width) p-0"
>
<div className="flex items-center gap-2 border-b border-border px-3 py-2">
<Search className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />
<Search className="h-4 w-4 shrink-0 text-muted-foreground" />
<input
autoCapitalize="off"
autoCapitalize="none"
autoComplete="off"
autoCorrect="off"
ref={(el) => el?.focus()}
className="flex-1 bg-transparent text-sm outline-hidden placeholder:text-muted-foreground"
onChange={(e) => {
@@ -119,6 +120,7 @@ export function ChannelCombobox({
}}
onKeyDown={handleKeyDown}
placeholder="Search channels..."
spellCheck={false}
value={query}
/>
</div>
@@ -142,7 +144,7 @@ export function ChannelCombobox({
>
<Check
className={cn(
"h-3.5 w-3.5 shrink-0",
"h-4 w-4 shrink-0",
channel.id === value ? "opacity-100" : "opacity-0",
)}
/>
@@ -54,7 +54,7 @@ export function WorkflowApprovalCard({ approval }: WorkflowApprovalCardProps) {
}
size="sm"
>
<Check className="mr-1 h-3 w-3" />
<Check className="mr-1 h-4 w-4" />
Approve
</Button>
<Button
@@ -70,7 +70,7 @@ export function WorkflowApprovalCard({ approval }: WorkflowApprovalCardProps) {
size="sm"
variant="destructive"
>
<X className="mr-1 h-3 w-3" />
<X className="mr-1 h-4 w-4" />
Deny
</Button>
</div>
@@ -89,7 +89,7 @@ export function WorkflowCard({
{channelName ? <span>{channelName}</span> : null}
{triggerSummary ? <span>{triggerSummary}</span> : null}
<span className="flex items-center gap-1">
<Clock className="h-3 w-3" />
<Clock className="h-4 w-4" />
{new Date(workflow.updatedAt * 1000).toLocaleDateString()}
</span>
</div>
@@ -93,7 +93,7 @@ export function WorkflowDetailPanel({
size="sm"
variant="outline"
>
<Pencil className="mr-1 h-3 w-3" />
<Pencil className="mr-1 h-4 w-4" />
Edit
</Button>
) : null}
@@ -103,7 +103,7 @@ export function WorkflowDetailPanel({
size="sm"
variant="outline"
>
<Play className="mr-1 h-3 w-3" />
<Play className="mr-1 h-4 w-4" />
{triggerMutation.isPending ? "Triggering..." : "Trigger"}
</Button>
<Button
@@ -219,7 +219,7 @@ export function WorkflowFormBuilder({
type="button"
variant="ghost"
>
<Code className="h-3.5 w-3.5" />
<Code className="h-4 w-4" />
{mode === "form" ? "Edit as YAML" : "Back to form"}
</Button>
</div>
@@ -335,7 +335,7 @@ export function WorkflowFormBuilder({
type="button"
variant="outline"
>
<Plus className="h-3.5 w-3.5" />
<Plus className="h-4 w-4" />
Add step
</Button>
</div>
@@ -326,7 +326,7 @@ export function WorkflowStepCard({
type="button"
variant="ghost"
>
<Trash2 className="h-3.5 w-3.5 text-muted-foreground" />
<Trash2 className="h-4 w-4 text-muted-foreground" />
</Button>
</div>
@@ -48,7 +48,7 @@ export function WorkflowWebhookHeadersEditor({
type="button"
variant="outline"
>
<Plus className="h-3.5 w-3.5" />
<Plus className="h-4 w-4" />
Add header
</Button>
</div>
@@ -109,7 +109,7 @@ export function WorkflowWebhookHeadersEditor({
type="button"
variant="ghost"
>
<Trash2 className="h-3.5 w-3.5 text-muted-foreground" />
<Trash2 className="h-4 w-4 text-muted-foreground" />
</Button>
</div>
))}
@@ -25,7 +25,7 @@ export function FormSelect({
>
{children}
</select>
<ChevronDown className="pointer-events-none absolute right-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" />
<ChevronDown className="pointer-events-none absolute right-2 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
</div>
);
}