Automattic / wp-calypso

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

The links are showing with underline #66287

Open galakhyati opened 2 years ago

galakhyati commented 2 years ago

Quick summary

After updating the WordPress.com Editing Toolkit plugin to version 3.37635 the links on the site are showing with an underline.

Steps to reproduce

  1. The menu links and other links on the site should be existing.
  2. WordPress.com Editing Toolkit is updated to v3.37635
  3. The links will now be showing with an underline.
  4. Removing from the Editor isn't affecting on the front end.

What you expected to happen

The underline shouldn't show up on the links.

What actually happened

The links were now showing with underline as text decoration.

Context

Customer report

User 1: 36036642-hc User 2: 36160832-hc

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Most (> 50%)

Available workarounds?

Yes, easy to implement

Workaround details

Adding the below CSS code helps to fix the issue:

/*Remove the underline from links| KG--hc/zn*/
a:not(.wp-element-button){
    text-decoration: none;
}
tvolpert commented 2 years ago

I had two instances of this today:

I provided the CSS workaround for both.

cuemarie commented 2 years ago

Encountered this here: 35034078-hc

Zoologist (Blockbase) theme, but content is built with Elementor. Elementor was showing the correct link styles, but the live site had the underlines.

In troubleshooting, we noticed that deactivating Page Optimize also removed the underlines.

Provided the CSS Workaround and that corrected the link styling.

Robertght commented 2 years ago

Moving this back to the triage queue as I moved the wrong report.

πŸ“Œ HOUSEKEEPING

πŸ“Œ SCRUBBING

πŸ“Œ FINDINGS/SCREENSHOTS/VIDEO

πŸ“Œ ACTIONS

daria2303 commented 2 years ago

34457662-hc Shared CSS but had to add !important