Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleonard committed Feb 5, 2025
1 parent 3590b62 commit 0aabe23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export const MetricHeader = ({ children }: { children: React.ReactNode }) => {
// If header has only one child, align it to the end of the container
const value = React.Children.toArray(children).length === 1 ? 'end' : 'between'
return (
<div className={`@[48rem]:flex-row flex flex-col gap-2 justify-${value} mt-8`}>
<div className={`flex flex-col gap-2 @[48rem]:flex-row justify-${value} mt-8`}>
{children}
</div>
)
Expand All @@ -270,5 +270,5 @@ export const MetricCollection = ({ children }: { children: React.ReactNode }) =>
<div className="mt-4 flex flex-col gap-4">{children}</div>
)
export const MetricRow = ({ children }: { children: React.ReactNode }) => (
<div className="@[48rem]:flex-row flex w-full flex-col gap-4">{children}</div>
<div className="flex w-full flex-col gap-4 @[48rem]:flex-row">{children}</div>
)

0 comments on commit 0aabe23

Please sign in to comment.