Skip to content

Atomic: file-editor-warning buttons misaligned #90177

Open

Description

Quick summary

The "Go Back" and "I Understand" buttons included in the file-editor-warning when navigating to Theme File Editor or Plugin File Editor are misaligned.

Steps to reproduce

  1. Open a new Atomic Site
  2. Navigate to /wp-admin/plugin-editor.php or /wp-admin/theme-editor.php for the first time

What you expected to happen

The pop up's buttons to be aligned

What actually happened

The buttons are misaligned. It looks like the "I understand" dismiss button has a specific vertical alignment (baseline) that's not applying to the first button:

.wp-core-ui p .button {
  vertical-align: baseline;
}

CleanShot 2024-05-01 at 13 12 16@2x

Impact

All

Available workarounds?

There is no user impact

Platform (Simple and/or Atomic)

Atomic

Logs or notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions