Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions apps/web/src/components/(dashboard)/dashboard-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import JobStatusPieChart from "./pie-chart";

const DashboardCard = ({ title, value, isLoading }: { title: string; value: string | number; isLoading?: boolean }) => {
return (
<Card className="flex flex-row items-center justify-between border rounded-lg p-2 cursor-pointer hover:shadow-md transition-shadow" >
<Card className="flex flex-row items-center justify-between border rounded-lg p-2 hover:shadow-md transition-shadow">
<CardHeader>
<CardTitle className="text-xl font-medium text-gray-500">{title}</CardTitle>
{isLoading ? (
Expand Down Expand Up @@ -41,7 +41,7 @@ const DashboardSkeleton = () => {
</Card>
))}
</section>
<section className="grid gap-2 grid-col-1 md:grid-cols-2 mt-4 w-full">
<section className="grid gap-2 grid-cols-1 md:grid-cols-2 items-start mt-4 w-full">
<Card className="w-full p-4 h-full">
<CardHeader className="items-center pb-0">
<Skeleton className="h-6 w-24" />
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/(dashboard)/layout/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Sidebar({ className }: { className?: string }) {
return (
<aside
className={cn(
"relative h-screen w-[240px] bg-neutral-100 max-w-full border-r bg-card flex-none flex flex-col",
"relative h-screen w-[240px] max-w-full border-r bg-card flex-none flex flex-col",
className
)}
>
Expand All @@ -34,7 +34,7 @@ export default function Sidebar({ className }: { className?: string }) {
<div className="mt-3 space-y-1">
<DashboardNav
navItems={navItems}
className="hidden md:flex md:col-span-3"
className="w-full"
/>
</div>
</div>
Expand Down