-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
On the homepage, post dates wrap if post titles are too long #136
Comments
@fmaida, thanks for reporting the bug.
You're right. I will see if there is a better way to do this. |
This issue has been marked stale due to inactivity. It will auto-close in 7 days without an update. |
max len and ... ? it may be worth a try to see how it looks |
This issue has been marked stale due to inactivity. It will auto-close in 7 days without an update. |
up |
I tested it on both Chrome device emulation and on my real iPhone 12 Pro. |
Thank you very much Francesco, for testing with the latest commit. I'll include this in the upcoming release, which has been delayed for a while. |
Describe the bug
On the homepage, post dates wrap if post titles are too long. This happens especially if the post titles are too long and you're browsing the website from a device with a small screen resolution - such as a mobile phone.
Steps to reproduce
Steps to reproduce the behavior:
This is an example of what I get. Please notice that post date wraps to the second line of text:
How I fixed this problem
I know this is not an elegant solution, but at the moment it's working.
I simply patched the source in
layouts/partials/postCard.html
by replacing this code:with this code that replaces normal spaces with non-breakable spaces:
And now this is how the posts are now displayed on a single line:
You see, it's not the best solution in the world, so I was hoping that maybe you could find a better solution to this problem.
Best regards
The text was updated successfully, but these errors were encountered: