Skip to content

The archives block has different padding compared to other lists #69007

@carolinan

Description

@carolinan

Description

The archives block has CSS that adds a custom left padding in the editor. The block does not align with the list block or categories list.

ul.wp-block-archives {
	padding-left: 2.5em;
}

Step-by-step reproduction instructions

Insert a list block.
Insert an archive block.

Compare the position/alignment (remember that different themes may style them differently!).

Screenshots, screen recording, code snippet

The first block in the image is the archive, then there is a list block and categories list.
A list block, archive, and categories list

Environment info

No response

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] ArchivesAffects the Archives Block[Status] In ProgressTracking issues with work in progress[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