Skip to content

Commit 8353259

Browse files
refactor: enhance item alignment in breadcrumb navigation dropdowns for improved UI consistency
1 parent 11781b7 commit 8353259

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ui/src/breadcrumbs/navigation-dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function BreadcrumbNavigationDropdown(props: TBreadcrumbNavigationDropdow
4646
)}
4747
>
4848
<div className="flex @4xl:hidden text-tertiary">...</div>
49-
<div className="hidden @4xl:flex gap-2">
49+
<div className="hidden @4xl:flex gap-2 items-center">
5050
{selectedItemIcon && <Breadcrumbs.Icon>{selectedItemIcon}</Breadcrumbs.Icon>}
5151
<Breadcrumbs.Label>{selectedItem?.title}</Breadcrumbs.Label>
5252
</div>

packages/ui/src/breadcrumbs/navigation-search-dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function BreadcrumbNavigationSearchDropdown(props: TBreadcrumbNavigationS
7070
{shouldTruncate && <div className="flex @4xl:hidden text-tertiary">...</div>}
7171
<div
7272
className={cn("flex gap-2", {
73-
"hidden @4xl:flex gap-2": shouldTruncate,
73+
"hidden @4xl:flex gap-2 items-center": shouldTruncate,
7474
})}
7575
>
7676
{icon && <Breadcrumbs.Icon>{icon}</Breadcrumbs.Icon>}

0 commit comments

Comments
 (0)