Skip to content

Latest comments block having padding/space issue when we changed its background color. #66043

@viralsampat-multidots

Description

@viralsampat-multidots

Description

Hello team,

I have checked "Latest Comments Block" and I have found that when we changed its background color we have facing its padding/space issue. After changed its background color the block padding/spacing is not same on editor side & front-end side.

I think that it should be same.

I have checked this issue in many different themes.

Here, I have provided it's screenshots:

Twenty Thirteen:

Image
Image

Twenty Sixteen:
Image
Image

Twenty Nineteen:
Image
Image

Twenty Twenty-two:
Image
Image

Twenty Twenty-three:
Image
Image

Twenty Twenty-four:
Image
Image

Step-by-step reproduction instructions

  • Type / to choose a block
  • Select Latest comments block
  • Change its background color from block settings.
  • Save the changes and publish the page.
  • View the editor side & front-end side.

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress version: WordPress 6.6.2 running,
  • Themes:
    • Twenty Thirteen Version: 4.2
    • Twenty Sixteen Version: 3.3
    • Twenty Nineteen Version: 2.9
    • Twenty Twenty-two Version: 1.8
    • Twenty Twenty-three Version: 1.5
    • Twenty Twenty-four Version: 1.8
  • Browser: Google Chrome, Version 129.0.6668.100 (Official Build) (arm64)
  • Device:** MacBook Air M1
  • OS: macOS 15.0.1 (24A348)
  • Gutenberg plugin: Version Version 19.4.0

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Latest CommentsAffects the Latest Comments Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions