From ec38e1434aba7ee9c14d0f5d040f9eed19ceaef7 Mon Sep 17 00:00:00 2001 From: ryelle Date: Mon, 15 Feb 2021 18:33:05 +0000 Subject: [PATCH] Twenty Thirteen: Fix alignment of child blocks within the Cover block. Props kjellr, melchoyce. Fixes #51224. Built from https://develop.svn.wordpress.org/trunk@50346 git-svn-id: http://core.svn.wordpress.org/trunk@49957 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/css/blocks.css | 14 ++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentythirteen/css/blocks.css b/wp-content/themes/twentythirteen/css/blocks.css index a08ddfd1a5..b74497f698 100644 --- a/wp-content/themes/twentythirteen/css/blocks.css +++ b/wp-content/themes/twentythirteen/css/blocks.css @@ -194,6 +194,20 @@ p.has-drop-cap:not(:focus)::first-letter { display: flex; } +body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * { + width: 604px; + max-width: 100%; + margin-left: auto; + margin-right: auto; +} + +@media screen and (min-width: 665px) { + body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.alignfull, + body:not(.sidebar) .wp-block-cover__inner-container > .wp-block-group.has-background.alignfull { + padding: 20px; + } +} + /* File */ .wp-block-file .wp-block-file__button { diff --git a/wp-includes/version.php b/wp-includes/version.php index 1be367e9c2..ec250d1224 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50345'; +$wp_version = '5.7-beta2-50346'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.