[wp-trac] [WordPress Trac] #52564: Twenty Twenty-One has unit-less CSS variable unfit for calc()

WordPress Trac noreply at wordpress.org
Mon May 24 18:32:32 UTC 2021


#52564: Twenty Twenty-One has unit-less CSS variable unfit for calc()
---------------------------+---------------------
 Reporter:  nico23         |       Owner:  ryelle
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  5.7
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  css
---------------------------+---------------------

Comment (by desrosj):

 In [changeset:"50975" 50975]:
 {{{
 #!CommitTicketReference repository="" revision="50975"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52564#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list