mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
a67d0acee7
commit
170d435c0b
@ -232,6 +232,10 @@ pre.wp-block-code {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.has-text-color th {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-block-table td {
|
.wp-block-table td {
|
||||||
border: 0;
|
border: 0;
|
||||||
border-top: 1px solid #ededed;
|
border-top: 1px solid #ededed;
|
||||||
|
@ -311,6 +311,10 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper .has-text-color th {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-block-list__block .wp-block-table th {
|
.editor-block-list__block .wp-block-table th {
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
@ -278,7 +278,7 @@ tr th {
|
|||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
border-top: 1px solid #ededed !important;
|
border-top: 1px solid #ededed !important;
|
||||||
color: #757575;
|
color: inherit;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 6px 10px 6px 0;
|
padding: 6px 10px 6px 0;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user