Skip to content

Post date in recent posts wraps to second line #245

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

Open
jannes opened this issue Oct 10, 2024 · 1 comment
Open

Post date in recent posts wraps to second line #245

jannes opened this issue Oct 10, 2024 · 1 comment

Comments

@jannes
Copy link
Contributor

jannes commented Oct 10, 2024

Describe the bug
On my personal website the last post in the recent posts list has a multi-line date.
I think this is not intended, at least it looks awkward visually in my opinion.
See the screenshot below of how my website renders on my laptop.

Steps to reproduce
I am not sure how this behavior is triggered.

Expected behavior
I expect the dates to always be on a single line.

Screenshots
Screenshot 2024-10-10 at 10 28 33

Device information

  • OS: MacOS
  • Browser Firefox
  • Version 131
@BiosPlus
Copy link
Contributor

Managed to replicate it myself, and then partially solved for it by using whitespace: nowrap, though I'm not sure where to best apply it in the scss files without borking the whole table.

Image

At that point alternatively it may be worth doing what I did recently, and widening the whole layout: #288

or changing the dateformat line in hugo.toml to something like 2006-01-02 (or the like) for a shorter spread 🤔

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

No branches or pull requests

2 participants