From a1bd872c128af127445a1e03ea2e7e59c2ea1f15 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 13 Oct 2024 15:43:18 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentynineteen/sass/media/_media.scss | 2 -- .../themes/twentynineteen/sass/site/primary/_comments.scss | 2 ++ wp-content/themes/twentynineteen/style-rtl.css | 4 ++-- wp-content/themes/twentynineteen/style.css | 4 ++-- wp-includes/version.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentynineteen/sass/media/_media.scss b/wp-content/themes/twentynineteen/sass/media/_media.scss index 64e652716d..f395c15084 100644 --- a/wp-content/themes/twentynineteen/sass/media/_media.scss +++ b/wp-content/themes/twentynineteen/sass/media/_media.scss @@ -20,9 +20,7 @@ object { .avatar { border-radius: 100%; display: block; - height: auto; min-height: inherit; - width: auto; } svg { diff --git a/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss b/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss index e8b22180f3..a527348d56 100644 --- a/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss +++ b/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss @@ -205,8 +205,10 @@ .avatar { float: left; + height: calc(2.25 * #{$size__spacing-unit}); margin-right: $size__spacing-unit; position: relative; + width: calc(2.25 * #{$size__spacing-unit}); @include media(tablet) { float: inherit; diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 7a3fffcbb0..c0ba37a3e3 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -4776,8 +4776,10 @@ body.page .main-navigation { .comment .comment-author .avatar { float: right; + height: calc(2.25 * 1rem); margin-left: 1rem; position: relative; + width: calc(2.25 * 1rem); } @media only screen and (min-width: 768px) { @@ -6482,9 +6484,7 @@ object { .avatar { border-radius: 100%; display: block; - height: auto; min-height: inherit; - width: auto; } svg { diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index c57ba48b9c..db4a36376d 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -4782,8 +4782,10 @@ body.page .main-navigation { .comment .comment-author .avatar { float: left; + height: calc(2.25 * 1rem); margin-right: 1rem; position: relative; + width: calc(2.25 * 1rem); } @media only screen and (min-width: 768px) { @@ -6494,9 +6496,7 @@ object { .avatar { border-radius: 100%; display: block; - height: auto; min-height: inherit; - width: auto; } svg { diff --git a/wp-includes/version.php b/wp-includes/version.php index d158ba26b6..10485fcccc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.