fix(upload): keep platform panels side by side
This commit is contained in:
@@ -23,7 +23,7 @@ export function LatestCard({
|
|||||||
<CardTitle>{title}</CardTitle>
|
<CardTitle>{title}</CardTitle>
|
||||||
<CardDescription>Most recent 10 published videos.</CardDescription>
|
<CardDescription>Most recent 10 published videos.</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="grid gap-3 sm:grid-cols-2">
|
<CardContent className="grid gap-3">
|
||||||
{videos.length === 0 ? (
|
{videos.length === 0 ? (
|
||||||
<p className="text-sm text-muted-foreground">
|
<p className="text-sm text-muted-foreground">
|
||||||
Connect the platform API to load videos.
|
Connect the platform API to load videos.
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export default async function AdminUploadVideoPage() {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="grid gap-4">
|
<section className="grid gap-4 xl:grid-cols-2">
|
||||||
<LatestCard title="Latest YouTube videos" videos={youtube} />
|
<LatestCard title="Latest YouTube videos" videos={youtube} />
|
||||||
<LatestCard title="Latest TikTok videos" videos={tiktok} />
|
<LatestCard title="Latest TikTok videos" videos={tiktok} />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user