From 4c8cceb51a7142a0c7af35870b8a80481af5cd4f Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 27 May 2024 10:31:11 +0000 Subject: [PATCH] Twenty Seventeen: Resolves latest comments author font weight difference. The latest comments author font weight was showing different between editor and front. This fixes that and also removes an extra ruleset. Props pitamdey, sabernhardt, shailu25, naeemhaque, darshitrajyaguru97. Fixes #61180. Built from https://develop.svn.wordpress.org/trunk@58204 git-svn-id: http://core.svn.wordpress.org/trunk@57667 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyseventeen/assets/css/blocks.css | 5 ----- .../twentyseventeen/assets/css/editor-blocks.css | 11 +---------- wp-includes/version.php | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index d8c34349ab..c0cf300d6d 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -364,11 +364,6 @@ p.has-drop-cap:not(:focus)::first-letter { text-transform: uppercase; } -.editor-block-list__block .wp-block-latest-comments__comment-excerpt p { - font-size: 14px; - font-size: 0.875rem; -} - /* Query Loop & Post Template */ .wp-block-query .wp-block-post-template > li { diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index 4b785b6b48..c17df295a3 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css @@ -771,10 +771,6 @@ table.wp-block-table td:last-child { /* Latest Comments */ -.editor-block-list__block ol.wp-block-latest-comments > li:before { - content: ''; -} - .wp-block-latest-comments article { margin-bottom: 4em; } @@ -790,7 +786,7 @@ table.wp-block-table td:last-child { margin-bottom: 0.4em; } -.editor-block-list__block .wp-block-latest-comments__comment-meta a { +.editor-styles-wrapper .wp-block-latest-comments__comment-meta a { -webkit-box-shadow: none; box-shadow: none; font-weight: 700; @@ -806,11 +802,6 @@ table.wp-block-table td:last-child { text-transform: uppercase; } -.editor-block-list__block .wp-block-latest-comments__comment-excerpt p { - font-size: 14px; - font-size: 0.875rem; -} - /* Latest Posts */ .edit-post-visual-editor .wp-block-latest-posts.is-grid { diff --git a/wp-includes/version.php b/wp-includes/version.php index 93f44ad783..84140eaa35 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58203'; +$wp_version = '6.6-alpha-58204'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.