From 13d010f2d682502846cfbacf00a1474d0e9cbb07 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Wed, 26 Jun 2024 13:48:13 +0000 Subject: [PATCH] Twenty Nineteen: Fixes avatar block size inconsistency. The avatar block size was different between front and editor. This was because the width and height were added to the avatar class. Props poena, naeemhaque, sabernhardt, sakibmd. Fixes #60664. Built from https://develop.svn.wordpress.org/trunk@58580 git-svn-id: http://core.svn.wordpress.org/trunk@58027 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/sass/media/_media.scss | 4 ++-- wp-content/themes/twentynineteen/style-rtl.css | 4 ++-- wp-content/themes/twentynineteen/style.css | 4 ++-- wp-includes/version.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentynineteen/sass/media/_media.scss b/wp-content/themes/twentynineteen/sass/media/_media.scss index 3fba8c6472..64e652716d 100644 --- a/wp-content/themes/twentynineteen/sass/media/_media.scss +++ b/wp-content/themes/twentynineteen/sass/media/_media.scss @@ -20,9 +20,9 @@ object { .avatar { border-radius: 100%; display: block; - height: calc(2.25 * #{$size__spacing-unit}); + height: auto; min-height: inherit; - width: calc(2.25 * #{$size__spacing-unit}); + width: auto; } svg { diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 45464ae0a6..22d480acdf 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -6466,9 +6466,9 @@ object { .avatar { border-radius: 100%; display: block; - height: calc(2.25 * 1rem); + height: auto; min-height: inherit; - width: calc(2.25 * 1rem); + width: auto; } svg { diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index 907ad811d1..a13ca5f5ce 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -6478,9 +6478,9 @@ object { .avatar { border-radius: 100%; display: block; - height: calc(2.25 * 1rem); + height: auto; min-height: inherit; - width: calc(2.25 * 1rem); + width: auto; } svg { diff --git a/wp-includes/version.php b/wp-includes/version.php index bb69f361b2..c47b61021b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58579'; +$wp_version = '6.7-alpha-58580'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.