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
This commit is contained in:
Sergey Biryukov 2024-02-09 18:25:04 +00:00
parent f7c63b630c
commit ae0b8ee134
3 changed files with 14 additions and 1 deletions

View File

@ -1605,3 +1605,9 @@ ul.wp-block-archives li ul,
padding-right: 0; padding-right: 0;
width: 100%; width: 100%;
} }
/** === Post Author Block === */
.avatar,
.wp-block-post-author__avatar img {
border-radius: 100%;
}

View File

@ -1021,3 +1021,10 @@ $group-block-background__padding: $font__size_base;
width: 100%; width: 100%;
} }
} }
/** === Post Author Block === */
.avatar,
.wp-block-post-author__avatar img {
border-radius: 100%;
}

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.