Skip to content

Conversation

@jameskoster
Copy link
Contributor

What?

Apply align-items: flex-start; to the wrapper for combined fields in the primary column of DataViews table layout.

Why?

Currently alignment is broken in the Templates dataview:

Screenshot 2025-12-11 at 10 02 52

How?

Update properties of containing HStack to ensure the title remains aligned with other fields regardless of how tall the preview field is:

Screenshot 2025-12-11 at 10 05 24

Testing

Before (storybook)

Screenshot 2025-12-11 at 10 08 44

After (storybook)

Screenshot 2025-12-11 at 10 08 51

@jameskoster jameskoster added [Type] Enhancement A suggestion for improvement. [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Dec 11, 2025
@github-actions
Copy link

github-actions bot commented Dec 11, 2025

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: jameskoster <[email protected]>
Co-authored-by: oandregal <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@oandregal oandregal enabled auto-merge (squash) December 11, 2025 18:55
@oandregal oandregal merged commit 0302553 into trunk Dec 11, 2025
43 of 44 checks passed
@oandregal oandregal deleted the fix/combined-field-alignment branch December 11, 2025 19:04
@github-actions github-actions bot added this to the Gutenberg 22.4 milestone Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants