From ae0b8ee134d3c0bf99334d313af75303ef323ccf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 9 Feb 2024 18:25:04 +0000 Subject: [PATCH] Twenty Nineteen: Add `border-radius` to avatar images in the editor. This ensures that avatars design in the Post Author or Avatar blocks in the editor matches the front end. Props pitamdey, shailu25, poena, sabernhardt, balub, sarath.ar, nicolefurlan, harshgajipara, pooja1210. Fixes #59285. Built from https://develop.svn.wordpress.org/trunk@57579 git-svn-id: http://core.svn.wordpress.org/trunk@57080 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/style-editor.css | 6 ++++++ wp-content/themes/twentynineteen/style-editor.scss | 7 +++++++ wp-includes/version.php | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index 54487026e2..54575e038b 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -1605,3 +1605,9 @@ ul.wp-block-archives li ul, padding-right: 0; width: 100%; } + +/** === Post Author Block === */ +.avatar, +.wp-block-post-author__avatar img { + border-radius: 100%; +} diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index ce8a2883f8..6bf5507d1b 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -1021,3 +1021,10 @@ $group-block-background__padding: $font__size_base; width: 100%; } } + +/** === Post Author Block === */ + +.avatar, +.wp-block-post-author__avatar img { + border-radius: 100%; +} diff --git a/wp-includes/version.php b/wp-includes/version.php index 96b9d494ad..2e66132c98 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57578'; +$wp_version = '6.5-alpha-57579'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.