From 69388d0301b198239fe9062e0628ce4dffd08c7a Mon Sep 17 00:00:00 2001 From: Viral Sampat <53076293+viralsampat-multidots@users.noreply.github.com> Date: Sun, 18 Dec 2022 22:13:48 +0530 Subject: [PATCH] fixed table block footer section issue (#46567) * fixed table block footer section issue * fixed table block footer section issue * fixed table block footer section issue and removed extra css from theme file --- packages/block-library/src/table/style.scss | 8 ++++++++ packages/block-library/src/table/theme.scss | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/block-library/src/table/style.scss b/packages/block-library/src/table/style.scss index 9721513a53eee..4f4271650f50e 100644 --- a/packages/block-library/src/table/style.scss +++ b/packages/block-library/src/table/style.scss @@ -11,6 +11,14 @@ width: 100%; } + thead { + border-bottom: 3px solid; + } + + tfoot { + border-top: 3px solid; + } + // Match default border style to default style in editor td, th { diff --git a/packages/block-library/src/table/theme.scss b/packages/block-library/src/table/theme.scss index 3adc4d3e452ba..d42e79b02b496 100644 --- a/packages/block-library/src/table/theme.scss +++ b/packages/block-library/src/table/theme.scss @@ -1,14 +1,6 @@ .wp-block-table { margin: 0 0 1em 0; - thead { - border-bottom: 3px solid; - } - - tfoot { - border-top: 3px solid; - } - td, th { word-break: normal;