Skip to content

Commit ababb90

Browse files
committed
Singapore schedule: prettier
1 parent 726853c commit ababb90

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/app/day/2026/singapore/schedule-section.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,17 @@ function SessionBlock({
7171
// On xl+ with a single speaker we slot the card next to the last two
7272
// paragraphs of the description so it sits in the bottom-right corner.
7373
// Multi-speaker sessions keep the regular "speakers below" layout.
74-
const sideSpeaker =
75-
session.speakers.length === 1 ? session.speakers[0] : null
74+
const sideSpeaker = session.speakers.length === 1 ? session.speakers[0] : null
7675

7776
return (
7877
<article>
7978
<Hr
80-
className={
81-
isFirst ? "mt-8 lg:mt-12 xl:mt-0" : "mt-12 lg:mt-16 xl:mt-0"
82-
}
79+
className={isFirst ? "mt-8 lg:mt-12 xl:mt-0" : "mt-12 lg:mt-16 xl:mt-0"}
8380
/>
8481
<SessionHeader session={session} className="px-2 py-8 sm:px-3 lg:py-12" />
8582
{session.description && (
8683
<>
87-
<Hr className="mt-10 2xl:mt-16 xl:mt-0" />
84+
<Hr className="mt-10 xl:mt-0 2xl:mt-16" />
8885
<SessionDescription
8986
description={session.description}
9087
sideSpeaker={sideSpeaker}
@@ -126,7 +123,7 @@ function SessionDescription({
126123
))}
127124
{tail.length > 0 && (
128125
<div className="mt-4 xl:flex xl:items-end xl:gap-6">
129-
<div className="[&>p+p]:mt-4 xl:flex-1">
126+
<div className="xl:flex-1 [&>p+p]:mt-4">
130127
{tail.map((html, i) => (
131128
<p key={`tail-${i}`} dangerouslySetInnerHTML={{ __html: html }} />
132129
))}

0 commit comments

Comments
 (0)