Skip to content

Unitless line-height messes up icon alignment for sections/panels in customizer #88

@timelsass

Description

@timelsass

It appears that the latest dashicons update in WP 5.2 release has changed some styling to include unitless line-heights as part of a coding standards sweep. This causes some icons to be misaligned in the customizer now.

To Reproduce
Steps to reproduce the behavior:

  1. Activate the latest Crio theme
  2. Go to the WP Customizer

The result is that the icons are not aligned with the text.

Expected behavior
The icons should be aligned properly with the text.

Screenshots
Icons misaligned:
image

Verified this issue occurs on all browsers/OS and mobile.

Note: it appears that this only occurs when debug is turned off.

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