[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 11:16:24 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:  needs-patch    |     Focuses:  css
---------------------------+---------------------

Comment (by poena):

 I can see that there is no max-width set for the input elements
 themselves, but I am not able to reproduce the issue.

 Tested on Windows 10, Chrome Version 87.0.4280.88.

 From the link in the support forum topic, I was able to see that the form
 in the image is created with
 Contact form 7.
 But I am not able to reproduce it when viewing the website from the
 support forum topic,
 nor when I test with and without the plugin locally (Plugin version
 5.3.2).



 When I manually add input elements to the HTML block, the max-width is
 adjusted by:
 {{{
 .post-thumbnail, .entry-content .wp-audio-shortcode, .entry-content >
 *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not
 (.wp-block-separator):not(.woocommerce), *[class*=inner-container] > *:not
 (.entry-
 content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not
 (.wp-block-separator):not(.woocommerce), .default-max-width {
     max-width: var(--responsive--aligndefault-width);
     margin-left: auto;
     margin-right: auto;
 }
 }}}

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


More information about the wp-trac mailing list