Twenty Thirteen: Updates table font size in editor and front.

The table font size wasn't reflecting in editor and front. What this does is keep the default and adds in an inherit.

Props umesh84, desrosj, shailu25, harshgajipara, darshitrajyaguru97, itpathsolutions.
Fixes #56204.


git-svn-id: https://develop.svn.wordpress.org/trunk@58103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2024-05-06 14:00:16 +00:00
parent 9dcee5bcbc
commit 5602defc89
2 changed files with 10 additions and 0 deletions

View File

@ -290,6 +290,11 @@ body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * {
border-top: 1px solid #ededed;
}
.wp-block-table[style*="font-size"] *,
.wp-block-table[class*="-font-size"] * {
font-size: inherit;
}
body:not(.sidebar) .wp-block-table.alignwide,
body:not(.sidebar) .wp-block-table.alignfull {
width: 100%;

View File

@ -331,6 +331,11 @@ p.has-drop-cap:not(:focus)::first-letter {
padding: 0;
}
.editor-styles-wrapper .wp-block-table[style*="font-size"] *,
.editor-styles-wrapper .wp-block-table[class*="-font-size"] * {
font-size: inherit;
}
/*--------------------------------------------------------------
6.0 Blocks - Layout Elements
--------------------------------------------------------------*/