fix: whitespace wrapping in semester warning (#629)

This commit is contained in:
Samuel Gunter
2025-10-07 18:28:41 -05:00
committed by GitHub
parent 8f7e1bc0af
commit 46fe591fa7

View File

@@ -175,12 +175,12 @@ export default function HeadingAndActions({ course, activeSchedule, onClose }: H
description: ( description: (
<> <>
The section you&apos;re adding is for{' '} The section you&apos;re adding is for{' '}
<span className='text-ut-burntorange'> <span className='text-ut-burntorange whitespace-nowrap'>
{course.semester.season} {course.semester.year} {course.semester.season} {course.semester.year}
</span> </span>
, but your current schedule contains sections in{' '} , but your current schedule contains sections in{' '}
<span className='text-ut-burntorange'>{activeSemesters}</span>. Mixing semesters in one <span className='text-ut-burntorange whitespace-nowrap'>{activeSemesters}</span>. Mixing
schedule may cause confusion. semesters in one schedule may cause confusion.
</> </>
), ),
buttons: dialogButtons, buttons: dialogButtons,