Skip to content

Commit 278bbfa

Browse files
committed
fix(frontend): center item type icon in header
1 parent 067e962 commit 278bbfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/lib/features/items/ItemDetailBreadcrumbs.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,10 @@
491491
data-testid="item-type-change-trigger"
492492
data-item-type-id={currentItemType.id}
493493
onclick={openItemTypeSelector}
494-
class="rounded cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500"
494+
class="inline-flex h-6 w-6 items-center justify-center rounded leading-none cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500"
495495
title="Change item type"
496496
>
497-
<ItemTypeIcon itemType={currentItemType} />
497+
<ItemTypeIcon itemType={currentItemType} testId="item-type-change-icon" />
498498
</button>
499499
{/snippet}
500500
</Tooltip>

0 commit comments

Comments
 (0)