Skip to content

Commit a4ff738

Browse files
committed
[TOOL-3833] Dashboard: Fix overflow scroll created by sr-only element (#6576)
1 parent b49c191 commit a4ff738

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

apps/dashboard/src/@/components/ui/breadcrumb.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ const BreadcrumbEllipsis = ({
9696
<span
9797
role="presentation"
9898
aria-hidden="true"
99-
className={cn("flex h-9 w-9 items-center justify-center", className)}
99+
className={cn(
100+
"relative flex h-9 w-9 items-center justify-center",
101+
className,
102+
)}
100103
{...props}
101104
>
102105
<MoreHorizontal className="h-4 w-4" />

apps/dashboard/src/@/components/ui/pagination.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ const PaginationEllipsis = ({
9494
}: React.ComponentProps<"span">) => (
9595
<span
9696
aria-hidden
97-
className={cn("flex h-9 w-9 items-center justify-center", className)}
97+
className={cn(
98+
"relative flex h-9 w-9 items-center justify-center",
99+
className,
100+
)}
98101
{...props}
99102
>
100103
<MoreHorizontal className="h-4 w-4" />

0 commit comments

Comments
 (0)