[wp-trac] [WordPress Trac] #63373: WP 6.8 Core added a Button block CSS property width of 100% rendering some buttons the full width of the browser.

WordPress Trac noreply at wordpress.org
Fri May 2 17:56:27 UTC 2025


#63373: WP 6.8 Core added a Button block CSS property width of 100% rendering some
buttons the full width of the browser.
--------------------------------+------------------------------
 Reporter:  ceenee              |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  General             |     Version:  6.8
 Severity:  normal              |  Resolution:
 Keywords:  needs-testing-info  |     Focuses:
--------------------------------+------------------------------
Changes (by abcd95):

 * keywords:   => needs-testing-info


Comment:

 Hi @ceenee, Thanks for bringing this up.

 I've been trying to reproduce the issue described, which is the addition
 of `width: 100%` to the buttons 6.8 onwards, but I did not see any anomaly
 as mentioned.

 I tested this using the following setup :

 - Used a default theme (Twenty Twenty-Four) with no active plugins
 - Created a new post and added a standard Button block with default
 settings (no changes to alignment, justification, or width options in the
 block inspector)
 - Added a couple paragraphs in between
 - Viewed the post on the front-end

 I did this with both `6.7.2` and `6.8` and didn't notice any significant
 deviations.

 Could you provide some steps for reproduction or maybe screenshots if
 possible?

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


More information about the wp-trac mailing list