Commit 055baf3ec2 for wordpress.org
commit 055baf3ec2cc1964ed5397815ddba07ea0cc6308
Author: wildworks <wildworks@git.wordpress.org>
Date: Fri Oct 2 12:05:46 2026 +0000
Bundled Themes: Fix block width in the editor.
Removes the extra 30 pixels from the maximum block width in the editor for Twenty Ten through Twenty Sixteen, so content in the editor matches the width on the front end.
Developed in: https://github.com/WordPress/wordpress-develop/pull/10946
Follow-up to [44152].
Props 369work, audrasjb, ozgursar, perfildoug, riccardodicurti, sabernhardt, SergeyKovalets, soyebsalar01, wildworks.
Fixes #63276.
Built from https://develop.svn.wordpress.org/trunk@64047
git-svn-id: http://core.svn.wordpress.org/trunk@63206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentyeleven/editor-blocks.css b/wp-content/themes/twentyeleven/editor-blocks.css
index 0307155572..0810dee559 100644
--- a/wp-content/themes/twentyeleven/editor-blocks.css
+++ b/wp-content/themes/twentyeleven/editor-blocks.css
@@ -78,7 +78,7 @@ Description: Used to style blocks in the editor.
}
.wp-block {
- max-width: 614px; /* 584px + 30px to account for padding */
+ max-width: 584px;
}
/* Link styles */
diff --git a/wp-content/themes/twentyfifteen/css/editor-blocks.css b/wp-content/themes/twentyfifteen/css/editor-blocks.css
index 91595e6304..7b73a5a2ac 100644
--- a/wp-content/themes/twentyfifteen/css/editor-blocks.css
+++ b/wp-content/themes/twentyfifteen/css/editor-blocks.css
@@ -336,7 +336,7 @@ Description: Used to style blocks in the editor.
}
.wp-block {
- max-width: 690px; /* 660px + 30px to account for padding. */
+ max-width: 660px;
}
/* Link styles */
diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css
index 97ca4fae6f..40e28418ca 100644
--- a/wp-content/themes/twentyfourteen/css/editor-blocks.css
+++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css
@@ -75,7 +75,7 @@ Description: Used to style blocks in the editor.
/* Main column width */
.wp-block {
- max-width: 504px; /* 474px + 30px to account for padding */
+ max-width: 474px;
}
/* Link styles */
diff --git a/wp-content/themes/twentysixteen/css/editor-blocks.css b/wp-content/themes/twentysixteen/css/editor-blocks.css
index dcf347f15f..da5d05bb9f 100644
--- a/wp-content/themes/twentysixteen/css/editor-blocks.css
+++ b/wp-content/themes/twentysixteen/css/editor-blocks.css
@@ -182,7 +182,7 @@ Description: Used to style blocks in the editor.
}
.wp-block {
- max-width: 630px; /* 600px + 30px to account for padding. */
+ max-width: 600px;
}
/* Link styles */
diff --git a/wp-content/themes/twentyten/editor-blocks.css b/wp-content/themes/twentyten/editor-blocks.css
index d315ee240e..6e42145aba 100644
--- a/wp-content/themes/twentyten/editor-blocks.css
+++ b/wp-content/themes/twentyten/editor-blocks.css
@@ -77,7 +77,7 @@ Description: Used to style blocks in the editor.
/* Main column width */
.wp-block {
- max-width: 670px; /* 640px + 30px to account for padding */
+ max-width: 640px;
}
/* Link styles */
diff --git a/wp-content/themes/twentythirteen/css/editor-blocks.css b/wp-content/themes/twentythirteen/css/editor-blocks.css
index 1aa453dfa8..a1ed7475b5 100644
--- a/wp-content/themes/twentythirteen/css/editor-blocks.css
+++ b/wp-content/themes/twentythirteen/css/editor-blocks.css
@@ -56,7 +56,7 @@ Description: Used to style blocks in the editor.
/* Main content width */
.wp-block {
- max-width: 634px; /* 604px + 30px to account for padding */
+ max-width: 604px;
}
.wp-block.alignwide,
@@ -382,7 +382,7 @@ p.has-drop-cap:not(:focus)::first-letter {
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block,
[data-align="wide"] .wp-block,
[data-align="full"] .wp-block {
- max-width: 634px;
+ max-width: 604px;
}
.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align="wide"] {
diff --git a/wp-content/themes/twentytwelve/css/editor-blocks.css b/wp-content/themes/twentytwelve/css/editor-blocks.css
index d46991ab8a..e2bef9b10a 100644
--- a/wp-content/themes/twentytwelve/css/editor-blocks.css
+++ b/wp-content/themes/twentytwelve/css/editor-blocks.css
@@ -76,7 +76,7 @@ Description: Used to style blocks in the editor.
/* Main column width */
.wp-block {
- max-width: 655px; /* 625px + 30px for padding */
+ max-width: 625px;
}
/* Link styles */
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 40168f8f47..d2e80e7661 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-64046';
+$wp_version = '7.2-alpha-64047';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.