Make WordPress Core


Ignore:
Timestamp:
05/24/2021 06:32:17 PM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Re-add px unit to the admin bar height custom property.

The px unit added in [50388] to prevent invalid values when using calc functions was inadvertently removed in [50972].

This re-adds the unit to ensure the issue reported in #52564 remains fixed. The same stylelint rule adjustment made in [50388] to .stylelintrc-css.json has also been copied over to stylelintrc.json file, which is the configuration file used when linting .scss files.

Props ocean90.
See #52624, #52564.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/.stylelintrc.json

    r50972 r50975  
    1111        "selector-pseudo-element-colon-notation": null,
    1212        "number-leading-zero": null,
    13         "no-descending-specificity": null
     13        "no-descending-specificity": null,
     14        "length-zero-no-unit": [true, {"ignore": ["custom-properties"]}]
    1415    }
    1516}
Note: See TracChangeset for help on using the changeset viewer.