Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/frontend/src/app/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function StatColumn({
grow?: boolean;
}) {
return (
<div className={`flex min-w-0 flex-col !gap-2 ${grow ? 'flex-1' : 'shrink'}`}>
<div className={`flex min-w-0 flex-col justify-center !gap-2 ${grow ? 'flex-1' : 'shrink'}`}>
<div className="flex flex-row items-center !gap-2">
<span className="flex h-6 w-6 shrink-0 items-center justify-center text-core-black [&>svg]:h-full [&>svg]:w-full">
{icon}
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function ProjectCard(props: ProjectCardProps) {
across a row. */}
<h4 className="line-clamp-2 break-words">{props.name}</h4>

<div className="flex min-w-0 flex-row items-stretch !gap-4 @max-[240px]:flex-col @max-[240px]:!gap-2">
<div className="grid min-w-0 grid-cols-[minmax(0,1fr)_1px_minmax(0,1fr)] items-center !gap-4 @max-[240px]:grid-cols-1 @max-[240px]:!gap-2">
<StatColumn
icon={<LuDollarSign aria-hidden />}
label="Budget"
Expand All @@ -79,7 +79,7 @@ export default function ProjectCard(props: ProjectCardProps) {
}
/>
<div
className="!w-px shrink-0 self-stretch !bg-black-300 @max-[240px]:hidden"
className="!h-20 !w-px shrink-0 !bg-black-300 @max-[240px]:hidden"
aria-hidden
/>
<StatColumn
Expand Down
Loading