Skip to content

Commit 385e07e

Browse files
committed
Normalize results container class order
1 parent d9576cd commit 385e07e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/containers/CompetitionResults/CompetitionResults.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export function CompetitionResultsContainer({
241241
now={now}
242242
apiResultsByRoundId={apiResultsByRoundId}
243243
/>
244-
<div className="flex min-w-0 flex-col space-y-4">
244+
<div className="flex flex-col min-w-0 space-y-4">
245245
<div className="md:hidden">
246246
<LinkButton
247247
to={`/competitions/${competitionId}/results`}
@@ -261,7 +261,7 @@ export function CompetitionResultsContainer({
261261
</h2>
262262
<NoteBox text={t('competition.results.liveResultsDelayNote')} />
263263
{isWcaApiResultsLoading && roundResults.length === 0 ? (
264-
<section className="rounded-md border border-tertiary-weak bg-panel p-4 text-muted">
264+
<section className="p-4 border rounded-md border-tertiary-weak bg-panel text-muted">
265265
<p>{t('common.loading')}</p>
266266
</section>
267267
) : (
@@ -276,11 +276,11 @@ export function CompetitionResultsContainer({
276276
)}
277277
</section>
278278
) : isWcaApiResultsLoading ? (
279-
<section className="rounded-md border border-tertiary-weak bg-panel p-4 text-muted">
279+
<section className="p-4 border rounded-md border-tertiary-weak bg-panel text-muted">
280280
<p>{t('common.loading')}</p>
281281
</section>
282282
) : (
283-
<section className="rounded-md border border-tertiary-weak bg-panel p-4">
283+
<section className="p-4 border rounded-md border-tertiary-weak bg-panel">
284284
<p>{t('competition.results.roundNotFound')}</p>
285285
</section>
286286
)}
@@ -292,7 +292,7 @@ export function CompetitionResultsContainer({
292292

293293
return (
294294
<Container className="pt-4">
295-
<div className="flex flex-col space-y-4 p-2 type-body">
295+
<div className="flex flex-col p-2 space-y-4 type-body">
296296
<NoteBox text={t('competition.results.liveResultsDelayNote')} />
297297
<RoundActionPicker mode="results" events={pickerEvents} LinkComponent={LinkComponent} />
298298
</div>

0 commit comments

Comments
 (0)