fix: use icon-only button for image browser

This commit is contained in:
2026-03-28 14:19:04 +03:00
parent 4ba3673b96
commit 3b74a3d5c8
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -179,10 +179,11 @@
<button
type="button"
onclick={handleBrowseImages}
class="inline-flex items-center gap-1.5 rounded-lg border border-[var(--border-primary)] px-3 py-2 text-sm font-medium text-[var(--text-secondary)] hover:bg-[var(--surface-card-hover)] transition-colors"
title={$t('quickDeploy.browseImages')}
aria-label={$t('quickDeploy.browseImages')}
class="rounded-lg border border-[var(--border-primary)] p-2 text-[var(--text-secondary)] hover:bg-[var(--surface-card-hover)] hover:text-[var(--text-primary)] transition-colors"
>
<IconSearch size={14} />
{$t('quickDeploy.browseImages')}
<IconSearch size={16} />
</button>
<button
onclick={handleInspect}
+4 -3
View File
@@ -147,10 +147,11 @@
<button
type="button"
onclick={handleBrowseImages}
class="inline-flex items-center gap-1.5 rounded-lg border border-[var(--border-primary)] px-3 py-2 text-sm font-medium text-[var(--text-secondary)] hover:bg-[var(--surface-card-hover)] transition-colors"
title={$t('projects.browseImages')}
aria-label={$t('projects.browseImages')}
class="rounded-lg border border-[var(--border-primary)] p-2 text-[var(--text-secondary)] hover:bg-[var(--surface-card-hover)] hover:text-[var(--text-primary)] transition-colors"
>
<IconSearch size={14} />
{$t('projects.browseImages')}
<IconSearch size={16} />
</button>
</div>
{#if showImageBrowser}