DataViews: ensure primary actions are not wrapped in the list layout - #73333
Conversation
|
Size Change: +4 B (0%) Total Size: 2.49 MB
ℹ️ View Unchanged
|
|
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. |
ntsekouras
left a comment
There was a problem hiding this comment.
LGTM, thanks! I also tested with longer texts in the primary action in english and looks way better than trunk.
|
@ntsekouras Thanks for the review! |
|
There was a conflict while trying to cherry-pick the commit to the wp/6.9 branch. Please resolve the conflict manually and create a PR to the wp/6.9 branch. PRs to wp/6.9 are similar to PRs to trunk, but you should base your PR on the wp/6.9 branch instead of trunk. |
This is common and is due to a conflict in the CHANGELOG file of the dataviews package, so I'd like to manually create a PR for the backport. |
…73333) * Don't wrap primary button text in list layout * Add changelog Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
…ordPress#73333) (WordPress#73345) * Don't wrap primary button text in list layout * Add changelog Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: priethor <priethor@git.wordpress.org>
What?
I found that the primary action button text is unexpectedly wrapped in some locales.
ja)zh_CN)Why? How?
As with the table layout,
white-space: nowrapis required.Testing Instructions
日本語.