From 336be7695cb065fbf349274e5baaaf8cbd2df41d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 9 Feb 2024 17:57:13 +0000 Subject: [PATCH] Twenty Sixteen: 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, sabernhardt, poena, shailu25. Fixes #59253. Built from https://develop.svn.wordpress.org/trunk@57577 git-svn-id: http://core.svn.wordpress.org/trunk@57078 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentysixteen/css/editor-blocks.css | 7 +++++++ wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentysixteen/css/editor-blocks.css b/wp-content/themes/twentysixteen/css/editor-blocks.css index 0eef6016c3..6fd2ddb01e 100644 --- a/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -634,6 +634,13 @@ Description: Used to style blocks in the editor. margin-bottom: 16px; } +/* Avatar & Post Author */ + +.editor-styles-wrapper .avatar, +.wp-block-post-author__avatar img { + border-radius: 50%; +} + /*-------------------------------------------------------------- 7.0 Blocks - Colors --------------------------------------------------------------*/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 6c67085712..9bc95144bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57576'; +$wp_version = '6.5-alpha-57577'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.