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.


git-svn-id: https://develop.svn.wordpress.org/trunk@55312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2023-02-13 09:21:59 +00:00
parent 4cbeef75a9
commit 428705ba1f
3 changed files with 9 additions and 1 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;