[wp-trac] [WordPress Trac] #52083: Twenty Twenty-One: Input fields do not have a max-width by default

WordPress Trac noreply at wordpress.org
Fri Dec 18 18:40:17 UTC 2020


#52083: Twenty Twenty-One: Input fields do not have a max-width by default
---------------------------+---------------------
 Reporter:  kjellr         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.7
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  css
---------------------------+---------------------

Comment (by ryelle):

 `--global--spacing-measure` is defined, [https://developer.mozilla.org/en-
 US/docs/Web/CSS/unset the value is `unset`] - which is meant to reset the
 max-width to the parent, which is `none` in this case.

 Also, `main *` has less specificity than `input[type]`, so even if the
 value for `--global--spacing-measure` is changed, it won't affect the max-
 width here.

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


More information about the wp-trac mailing list