Problem/Motivation

Zero values in CSS should not contain a unit declaration per formatting guidelines. Zero value unit is present in `diff.general.css` on L10.

Proposed resolution

Remove the unit attached to zero value is stylesheet and save a byte. I will provide a patch.

Issue fork diff-3248790

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bygeoffthompson created an issue. See original summary.

bygeoffthompson’s picture

Assigned: bygeoffthompson » Unassigned
Status: Active » Needs review
StatusFileSize
new283 bytes

silvi.addweb made their first commit to this issue’s fork.

silvi.addweb’s picture

Status: Needs review » Reviewed & tested by the community

I've tested and raised MR.

acbramley’s picture

Status: Reviewed & tested by the community » Needs work

Please ensure you do not use the 8.x-1.x in the fork and push work to the proper branch.

acbramley’s picture

Version: 8.x-1.x-dev » 2.x-dev

Development must be done against 2.x

Indranil Roy made their first commit to this issue’s fork.

indranil roy’s picture

Hey @acbramley,
I have raised the MR changed the targeted branch 2.x. please review.

indranil roy’s picture

Assigned: Unassigned » indranil roy
Status: Needs work » Needs review
acbramley’s picture

Title: Drupal CSS Standards (zero value units) » Fix stylelint warnings
Status: Needs review » Needs work

I don't really see the point in fixing 1 failure in stylelint. I'd rather see it all fixed at once.

heddn made their first commit to this issue’s fork.

heddn’s picture

Title: Fix stylelint warnings » Fix stylelint & eslint warnings
lavanyatalwar’s picture

Status: Needs work » Reviewed & tested by the community

Hi @lucashedding
Thank you for updating the MR. Pipeline is green for stylelint and eslint now.
Moving it to RTBC+

heddn’s picture

Title: Fix stylelint & eslint warnings » Fix stylelint & eslint & php code standard warnings

heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.