Skip to content

Commit

Permalink
Prevent line breaks within formatted date
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska committed Dec 8, 2024
1 parent 84519dc commit 71b25b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ function SessionInfo({ currentSession, lastSession }: SessionInfoProps) {
<>
The last plenary session was held{" "}
{locationName && `in ${locationName} `}
from {startDate} to {endDate}.{" "}
from {startDate?.replaceAll(" ", "\u00a0")} to{" "}
{endDate?.replace(" ", "\u00a0")}.{" "}
<strong>
<a href="/votes">View vote results</a>
</strong>{" "}
Expand Down

0 comments on commit 71b25b9

Please sign in to comment.