mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
style: css fixes
This commit is contained in:
@@ -14,7 +14,7 @@ export default async function Home({ searchParams }: { searchParams: Promise<Tra
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-5 p-5 w-full max-w-7xl self-center">
|
<div className="flex flex-col gap-5 p-5 w-full max-w-7xl self-center">
|
||||||
<div className="flex flex-col sm:flex-row gap-5 items-stretch">
|
<div className="flex flex-col sm:flex-row gap-5 items-stretch h-full">
|
||||||
<DashboardDropZoneWidget />
|
<DashboardDropZoneWidget />
|
||||||
|
|
||||||
<DashboardUnsortedWidget files={unsortedFiles} />
|
<DashboardUnsortedWidget files={unsortedFiles} />
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
||||||
import { File } from "@prisma/client"
|
import { File } from "@prisma/client"
|
||||||
import { FilePlus, PartyPopper } from "lucide-react"
|
import { Cake, FilePlus } from "lucide-react"
|
||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
|
|
||||||
export default function DashboardUnsortedWidget({ files }: { files: File[] }) {
|
export default function DashboardUnsortedWidget({ files }: { files: File[] }) {
|
||||||
@@ -33,9 +33,8 @@ export default function DashboardUnsortedWidget({ files }: { files: File[] }) {
|
|||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
{files.length == 0 && (
|
{files.length == 0 && (
|
||||||
<div className="flex flex-col items-center justify-center gap-2 text-sm text-muted-foreground h-full min-h-[100px]">
|
<div className="flex flex-col items-center justify-center gap-2 text-sm h-full min-h-[100px] opacity-30">
|
||||||
<PartyPopper className="w-5 h-5" />
|
<Cake className="w-8 h-8" />
|
||||||
<span>Everything is clear! Congrats!</span>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user