Score circle not changing colours

Created on 13 July 2023, almost 2 years ago

Problem/Motivation

The Yoast SEO circle is changing coller by a class which is added to the div around it.

However, the CSS is defined as:

.overallScore.good

While the class is being added as

class="overallScore Good"

Because of the capital G the CSS is not being applied.

Steps to reproduce

Reach a ranking that should change the score (good, ok, bad).

Proposed resolution

Fix the class adding logic to be lowercase.

Remaining tasks

Patch or merge request

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024