Skip to content

Conversation

@yogeshbhutkar
Copy link
Contributor

@yogeshbhutkar yogeshbhutkar commented Nov 25, 2024

Fixes: #67266

What?

Adds Spacing Controls ( Margin and Padding ) to the Comments Pagination Controls block.

How?

block.json is modified to include the spacing options to enable support.

Testing Instructions

  1. Create a post and navigate to its edit screen.
  2. Add a comments block.
  3. From the Tree view, choose the comments page number block. Notice the presence of spacing options.

Screenshots or screencast

Screen.Recording.2024-11-25.at.2.39.38.PM.mov

@yogeshbhutkar yogeshbhutkar marked this pull request as ready for review November 25, 2024 09:11
@github-actions
Copy link

github-actions bot commented Nov 25, 2024

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: yogeshbhutkar <[email protected]>
Co-authored-by: youknowriad <[email protected]>

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

@Mamaduka Mamaduka added the [Type] Enhancement A suggestion for improvement. label Jan 13, 2025
@youknowriad youknowriad force-pushed the 67266-comments-pagination-numbers branch from 06c178b to 063959e Compare December 4, 2025 07:42
@youknowriad
Copy link
Contributor

This seems like a useful addition and seem to work well for me.

Anyone able to do a second test for me.

cc @andrewserong @talldan @ramonjd

Copy link
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Frontend

Screenshot 2025-12-05 at 12 20 03 pm

Editor

Screenshot 2025-12-05 at 12 12 05 pm

Global styles

Screenshot 2025-12-05 at 12 22 21 pm

@ramonjd ramonjd merged commit 5002f36 into WordPress:trunk Dec 5, 2025
34 checks passed
@github-actions github-actions bot added this to the Gutenberg 22.3 milestone Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Comments Pagination Numbers ] : The component responsible for rendering pagination for comments does not support margin and padding.

4 participants