Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent line breaks within formatted date #1066

Merged
merged 2 commits into from
Dec 8, 2024

Conversation

tillprochaska
Copy link
Collaborator

@tillprochaska tillprochaska commented Dec 8, 2024

This fixes a small visual issue: In some cases, line breaks were inserted in formatted dates (for example Nov[break]28). This PR fixes that by using non-breaking spaces in formatted dates and also improves the visual appearance by ensuring that the lines are roughly the same length (using text-wrap: balance).

Before:
Screenshot 2024-12-08 at 11 09 45 PM

After:
Screenshot 2024-12-08 at 11 11 46 PM

@tillprochaska tillprochaska requested a review from linusha December 8, 2024 22:14
@tillprochaska tillprochaska merged commit 90c72bb into main Dec 8, 2024
2 checks passed
@tillprochaska tillprochaska deleted the fix-line-breaks-date-homepage branch December 8, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants