Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

SCSS mixins: long-content-fade seems to not working on Single Site view #83974

Open vitozev opened 11 months ago

vitozev commented 11 months ago

Quick summary

The long-content-fade (see the code) used in the Site Switcher isn't working on the Single Site views on Jetpack Cloud and WordPress.com. It works fine on the Multi Site view, though.

Here's some of our previous work, which solves the same issue on WordPress.com: https://github.com/Automattic/wp-calypso/pull/65598

Here's a screenshot of how it looks now and the expected result (note the fading effect).

Actual Expected
image image

Steps to reproduce

  1. Visit cloud.jetpack.com
  2. From the sidebar, switch to a site with a long title (alternatively, you can change the title using Dev Tools)

What you expected to happen

The fade-out effect should be applied. The same way it works for the All sites view.

What actually happened

Observe that the fade-out effect isn't working for the long titles

Impact

All

Available workarounds?

There is no user impact

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

maciejpilarski commented 11 months ago

📌 REPRODUCTION RESULTS  Replicable outside of Dotcom – Yes

📌 FINDINGS/SCREENSHOTS/VIDEO I was able to reproduce the issue on one of my personal self-hosted sites: Markup 2023-11-20 at 22 27 39 The long title does not have the expected fading effect.

📌 ACTIONS

davemart-in commented 18 hours ago

Changing status from Normal to Low.