-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Editor: Polish the style of some of the post summary rows. #61645
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +188 B (+0.01%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
@jameskoster the excerpt is truncated to maximum 4 lines, that said, the truncate like that only works if the text is within a "block" element which means the "Edit" link can't be on the same line as the excerpt unless we remove the truncate. |
It can work if we truncate by character count and display inline-block. I had a draft PR here to achieve it, but perhaps that's not the best approach. Worst case scenario the 'Edit' button will need to live on it's own line beneath the excerpt, but my understanding is the dedicated button will be necessary. |
If I remember properly, truncating using characters like that is not something that we can do for i18n reasons. |
What's wrong with removing the truncate entirely? Why do we really need it? |
I applied the latest suggestion, let me know how it feels. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there may be other options to explore for the 'Edit excerpt' button, but this improves on trunk and shouldn't hold up the other enhancements.
Related to #59689
What?
This PR iterates towards the designs shared in #59689
It addresses the following points.
Testing Instructions