Skip to content

Proposal: Replace justify-content: left with flex-start in the Modal component header #71997

@ivan-ottinger

Description

@ivan-ottinger

I propose to change the justify-content: left; to justify-content: flex-start; for the Modal block heading alignment.

With the proposed change there's no need for extra RTL styling adjustment to handle Modal's heading alignment.

.components-modal__header-heading-container {
  align-items: center;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: left; // here
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions