Skip to content

Bug report: WordPress logo got squished on the header (learn.wordpress.org courses) #1964

@retnonindya

Description

@retnonindya

Description

The WP logo on the header area looks squished, and it seems like the issue happens on all courses (since the logo is on the header).

Step-by-step reproduction instructions

  1. Go to any courses on learn.wordpress.com
  2. See the header

For example:

Expected behaviour

The WP logo looks normal, as expected.

Actual behaviour and screenshots or screen recording (optional)

The logo looks squished. For example, this one from https://learn.wordpress.org/lesson/how-to-log-in-with-wp-admin/:

Screenshot 2023-11-05 at 12 19 01 PM

Environment information

MacOS Sonoma 14.0, Chrome browser Version 119.0.6045.105 -- but I think this happens on all browsers.

Workaround/findings

This is the CSS that caused the squished-look:

.wp-block-site-logo.is-default-size img {
    height: auto;
    width: 120px;
}

If we change the width to auto, it should fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority - HighHigh priority issue.[Type] BugSomething isn't working on the Learn website.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions