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
This commit is contained in:
Sergey Biryukov 2024-02-09 17:57:13 +00:00
parent 21e68fe56e
commit 336be7695c
2 changed files with 8 additions and 1 deletions

View File

@ -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
--------------------------------------------------------------*/

View File

@ -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.