diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index b4dfac35c0..3df45493e9 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -510,6 +510,10 @@ border-color: #dcd7ca; } +.editor-styles-wrapper .wp-block-table table:where(.has-text-color) * { + border-color: currentColor; +} + .editor-styles-wrapper .wp-block-table tr { border: none; } diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index eb498e1490..41efe125bd 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -514,6 +514,10 @@ border-color: #dcd7ca; } +.editor-styles-wrapper .wp-block-table table:where(.has-text-color) * { + border-color: currentColor; +} + .editor-styles-wrapper .wp-block-table tr { border: none; } diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index b7ae83944c..43f5b0bd44 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -3356,6 +3356,10 @@ hr.wp-block-separator { /* Block: Table ------------------------------ */ +.wp-block-table table:where(:not(.has-text-color)) * { + border-color: inherit; +} + .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #dcd7ca; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 0f87453139..33a643d0ff 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -3376,6 +3376,10 @@ hr.wp-block-separator { /* Block: Table ------------------------------ */ +.wp-block-table table:where(:not(.has-text-color)) * { + border-color: inherit; +} + .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #dcd7ca; }