Twenty Nineteen: Fixes adjusting avatar dimensions for comment author.

In Twenty Nineteen r58580 increased size of avatars. This caused issues with the position of author checkbox. This resolves by moving without impacting the avatar blocks.

Props sabernhardt, nithins53, sudipatel007.
Fixes #62096.

Built from https://develop.svn.wordpress.org/trunk@59222


git-svn-id: http://core.svn.wordpress.org/trunk@58614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-10-13 15:43:18 +00:00
parent fb115f6a01
commit a1bd872c12
5 changed files with 7 additions and 7 deletions

View File

@ -20,9 +20,7 @@ object {
.avatar { .avatar {
border-radius: 100%; border-radius: 100%;
display: block; display: block;
height: auto;
min-height: inherit; min-height: inherit;
width: auto;
} }
svg { svg {

View File

@ -205,8 +205,10 @@
.avatar { .avatar {
float: left; float: left;
height: calc(2.25 * #{$size__spacing-unit});
margin-right: $size__spacing-unit; margin-right: $size__spacing-unit;
position: relative; position: relative;
width: calc(2.25 * #{$size__spacing-unit});
@include media(tablet) { @include media(tablet) {
float: inherit; float: inherit;

View File

@ -4776,8 +4776,10 @@ body.page .main-navigation {
.comment .comment-author .avatar { .comment .comment-author .avatar {
float: right; float: right;
height: calc(2.25 * 1rem);
margin-left: 1rem; margin-left: 1rem;
position: relative; position: relative;
width: calc(2.25 * 1rem);
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
@ -6482,9 +6484,7 @@ object {
.avatar { .avatar {
border-radius: 100%; border-radius: 100%;
display: block; display: block;
height: auto;
min-height: inherit; min-height: inherit;
width: auto;
} }
svg { svg {

View File

@ -4782,8 +4782,10 @@ body.page .main-navigation {
.comment .comment-author .avatar { .comment .comment-author .avatar {
float: left; float: left;
height: calc(2.25 * 1rem);
margin-right: 1rem; margin-right: 1rem;
position: relative; position: relative;
width: calc(2.25 * 1rem);
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
@ -6494,9 +6496,7 @@ object {
.avatar { .avatar {
border-radius: 100%; border-radius: 100%;
display: block; display: block;
height: auto;
min-height: inherit; min-height: inherit;
width: auto;
} }
svg { svg {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-beta2-59220'; $wp_version = '6.7-beta2-59222';
/** /**
* 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.