Skip to content

Commit ed42f12

Browse files
committed
.
1 parent ff5115b commit ed42f12

2 files changed

Lines changed: 26 additions & 22 deletions

File tree

app/(default)/(event)/cvpr2026/workshop/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export default function Home() {
439439
</div>
440440
</div>
441441
<div className="w-full px-6 flex justify-center mt-12">
442-
<div className="w-full max-w-7xl flex">
442+
<div className="w-full max-w-7xl">
443443
<ScheduleList/>
444444
</div>
445445
</div>

app/(default)/(event)/cvpr2026/workshop/schedule.tsx

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const scheduleItems: {
5858
}[] = [
5959
{
6060
type: "talk",
61-
time: "2025-06-11T14:00:00",
61+
time: "2026-06-03T23:00:00",
6262
name: "Hongyang Li",
6363
nameLink: "https://lihongyang.info/",
6464
affiliation: "HKU, China",
@@ -70,7 +70,7 @@ const scheduleItems: {
7070
},
7171
{
7272
type: "talk",
73-
time: "2025-06-11T14:10:00",
73+
time: "2026-06-03T23:10:00",
7474
name: "Hao Su",
7575
nameLink: "https://cseweb.ucsd.edu/~haosu/",
7676
affiliation: "UC San Diego, USA",
@@ -85,7 +85,7 @@ const scheduleItems: {
8585
},
8686
{
8787
type: "talk",
88-
time: "2025-06-11T14:00:00",
88+
time: "2026-06-04T00:00:00",
8989
name: "Spotlights Presentaion",
9090
title: "Accepted Paper Authors",
9191
recordings: {
@@ -95,12 +95,12 @@ const scheduleItems: {
9595
},
9696
{
9797
type: "break",
98-
time: "2025-06-11T15:10:00",
98+
time: "2026-06-04T00:20:00",
9999
title: "Coffee Break",
100100
},
101101
{
102102
type: "talk",
103-
time: "2025-06-11T15:20:00",
103+
time: "2026-06-04T00:30:00",
104104
name: "Zhiyu Huang",
105105
nameLink: "https://mczhi.github.io/",
106106
affiliation: "UCLA, USA",
@@ -115,7 +115,7 @@ const scheduleItems: {
115115
},
116116
{
117117
type: "talk",
118-
time: "2025-06-11T18:40:00",
118+
time: "2026-06-04T01:20:00",
119119
name: "Angjoo Kanazawa",
120120
nameLink: "https://people.eecs.berkeley.edu/~kanazawa/",
121121
affiliation: "UC Berkeley, USA",
@@ -130,12 +130,12 @@ const scheduleItems: {
130130
},
131131
{
132132
type: "break",
133-
time: "2025-06-11T16:40:00",
133+
time: "2026-06-04T02:10:00",
134134
title: "Lunch Break",
135135
},
136136
{
137137
type: "talk",
138-
time: "2025-06-11T18:00:00",
138+
time: "2026-06-04T03:00:00",
139139
name: "Edward Johns",
140140
nameLink: "https://www.robot-learning.uk/",
141141
affiliation: "Imperial College London, UK",
@@ -150,7 +150,7 @@ const scheduleItems: {
150150
},
151151
{
152152
type: "talk",
153-
time: "2025-06-11T15:20:00",
153+
time: "2026-06-04T03:50:00",
154154
name: "Jiatao Gu",
155155
nameLink: "https://jiataogu.me/",
156156
affiliation: "UPenn, USA",
@@ -165,13 +165,13 @@ const scheduleItems: {
165165
},
166166
{
167167
type: "break",
168-
time: "2025-06-11T20:20:00",
168+
time: "2026-06-04T04:40:00",
169169
title: "Coffee Break",
170170
},
171171

172172
{
173173
type: "talk",
174-
time: "2025-06-11T19:40:00",
174+
time: "2026-06-04T04:50:00",
175175
name: "Rika Antonova",
176176
nameLink: "https://contactrika.github.io/",
177177
affiliation: "Cambridge, UK",
@@ -186,7 +186,7 @@ const scheduleItems: {
186186
},
187187
{
188188
type: "talk",
189-
time: "2025-06-11T20:30:00",
189+
time: "2026-06-04T05:40:00",
190190
name: "Yilun Du",
191191
nameLink: "https://yilundu.github.io/",
192192
affiliation: "Harvard, USA",
@@ -201,12 +201,12 @@ const scheduleItems: {
201201
},
202202
{
203203
type: "panel",
204-
time: "2025-06-11T21:10:00",
204+
time: "2026-06-04T06:30:00",
205205
title: "Debate",
206206
},
207207
{
208208
type: "closing",
209-
time: "2025-06-11T22:10:00",
209+
time: "2026-06-04T07:30:00",
210210
title: "Closing Remarks",
211211
},
212212
];
@@ -236,8 +236,9 @@ function ScheduleAvatar({ item }: { item: typeof scheduleItems[0] }) {
236236
}
237237
if (item.type === "challenge") {
238238
return (
239-
<div className="relative">
240-
<img className="flex size-10 items-center justify-center bg-white" src="/assets/icon/D.svg" alt="" />
239+
<div className="relative shrink-0">
240+
{/* FIX 1: use w-10 h-10 object-contain instead of flex size-10 ... */}
241+
<img className="w-10 h-10 object-contain" src="/assets/icon/D.svg" alt="" />
241242
</div>
242243
);
243244
}
@@ -254,8 +255,9 @@ function ScheduleAvatar({ item }: { item: typeof scheduleItems[0] }) {
254255
}
255256
if (item.affiliationLogo) {
256257
return (
257-
<div className="relative">
258-
<img className="flex size-10 items-center justify-center bg-white" src={item.affiliationLogo} alt="" />
258+
// FIX 1: use w-10 h-10 object-contain + shrink-0 to preserve aspect ratio
259+
<div className="relative shrink-0">
260+
<img className="w-10 h-10 object-contain" src={item.affiliationLogo} alt="" />
259261
</div>
260262
);
261263
}
@@ -314,7 +316,8 @@ export function ScheduleList() {
314316

315317
<div className="relative flex items-start space-x-3">
316318
<ScheduleAvatar item={item} />
317-
<div className="flex flex-col w-full gap-3">
319+
{/* FIX 2: min-w-0 + overflow-hidden clamps the column to its flex-allocated width */}
320+
<div className="flex flex-col w-full min-w-0 overflow-hidden gap-3">
318321
<div className={`flex justify-between${isBreakType(item.type) ? " pt-1" : ""}`}>
319322
<div>
320323
{item.type === "challenge" ? (
@@ -375,7 +378,8 @@ export function ScheduleList() {
375378
{item.bio && (
376379
<details className="text-xs">
377380
<summary className="content-none">Biography</summary>
378-
<p className="mt-3">{item.bio}</p>
381+
{/* FIX 2: break-words prevents long strings from expanding the container */}
382+
<p className="mt-3 w-full break-words">{item.bio}</p>
379383
</details>
380384
)}
381385
</div>
@@ -387,4 +391,4 @@ export function ScheduleList() {
387391
</ul>
388392
</div>
389393
);
390-
}
394+
}

0 commit comments

Comments
 (0)