Shorts: right panel stretches to match left, scrollable inside

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
eric 2026-08-11 04:10:45 -05:00
parent 7f4c76de23
commit ea9059d5e9

View File

@ -889,7 +889,7 @@ export default function ShortsPage() {
{!loading || status ? ( {!loading || status ? (
<> <>
<div className="mb-6 grid gap-4 xl:grid-cols-[1.4fr_1fr] xl:items-start"> <div className="mb-6 grid gap-4 xl:grid-cols-[1.4fr_1fr] xl:items-stretch">
<section className="rounded-2xl border border-white/10 bg-black/25 p-4"> <section className="rounded-2xl border border-white/10 bg-black/25 p-4">
<div className="mb-3 flex items-center justify-between gap-2"> <div className="mb-3 flex items-center justify-between gap-2">
<h3 className="text-sm font-medium text-slate-100">频道配额({channels.length})</h3> <h3 className="text-sm font-medium text-slate-100">频道配额({channels.length})</h3>
@ -1007,7 +1007,7 @@ export default function ShortsPage() {
</div> </div>
</section> </section>
<section className="flex flex-col rounded-2xl border border-white/10 bg-black/25 p-4 xl:self-start"> <section className="flex flex-col overflow-hidden rounded-2xl border border-white/10 bg-black/25 p-4">
<div className="mb-3 flex items-center justify-between gap-3"> <div className="mb-3 flex items-center justify-between gap-3">
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<Clock3 className="h-4 w-4 text-amber-300" /> <Clock3 className="h-4 w-4 text-amber-300" />