Twenty Twelve: Properly reflect text color changes in Table block.

This changeset makes the table header cells also inherit text colors, when the user selects a text color.

Props nidhidhandhukiya, sabernhardt, poena, faguni22.
Fixes #56466.

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


git-svn-id: http://core.svn.wordpress.org/trunk@54845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-13 09:23:19 +00:00
parent a67d0acee7
commit 170d435c0b
4 changed files with 10 additions and 2 deletions

View File

@ -232,6 +232,10 @@ pre.wp-block-code {
text-transform: uppercase;
}
.has-text-color th {
color: inherit;
}
.wp-block-table td {
border: 0;
border-top: 1px solid #ededed;

View File

@ -311,6 +311,10 @@ p.has-drop-cap:not(:focus)::first-letter {
width: 100%;
}
.editor-styles-wrapper .has-text-color th {
color: inherit;
}
.editor-block-list__block .wp-block-table th {
border: 0;
font-size: 11px;

View File

@ -278,7 +278,7 @@ tr th {
}
td {
border-top: 1px solid #ededed !important;
color: #757575;
color: inherit;
font-size: inherit;
font-weight: normal;
padding: 6px 10px 6px 0;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-beta1-55311';
$wp_version = '6.2-beta1-55312';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.