Skip to content

Commit

Permalink
fix subheader children on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Mar 10, 2024
1 parent 6a6f862 commit 9e11ffe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/sub-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Component = ({
>
<div
className={clsx(
'flex items-center gap-4 overflow-hidden',
'flex flex-1 items-center gap-4 overflow-hidden',
titleClassName,
)}
>
Expand All @@ -66,7 +66,9 @@ const Component = ({
) : (
<Title>{title}</Title>
)}
{children}
<div className="inline-flex gap-4 overflow-x-scroll">
{children}
</div>
</div>
{href && (
<Button size="icon-sm" variant="outline" asChild>
Expand Down

0 comments on commit 9e11ffe

Please sign in to comment.