Skip to content

Commit

Permalink
Fix various whitespace behavior
Browse files Browse the repository at this point in the history
williammck committed Nov 25, 2024
1 parent b081bd4 commit a8d5b21
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/(home)/HomepageCards.tsx
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ export const AnnouncementCard: React.FC<AnnouncementCardProps> = ({ announcement
<>
<Card interactive onClick={() => setShowModal(true)}>
<div className="flex w-full items-center">
<p className="inline-block w-32 whitespace-pre text-gray-400">
<p className="inline-block w-32 whitespace-nowrap text-gray-400">
{format(new Date(announcement.posted), 'MMM d, y')}
</p>
<h4 className="w-full shrink truncate text-lg font-medium">
2 changes: 1 addition & 1 deletion src/app/events/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ const ViewEvent: NextPage<EventParams> = async ({ params }) => {
</h5>
</div>
</div>
<p className="whitespace-pre">
<p className="whitespace-pre-line">
{event.description}
</p>
{session?.user.permissions.is_staff && (

0 comments on commit a8d5b21

Please sign in to comment.