From 21d354b964e8b7492ddaf5f472e6f307982b77a0 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 25 Nov 2025 15:12:59 +0100 Subject: [PATCH] STYLE add new CSS for wp-block-table with custom styles for table headers and cells --- resources/css/blocks/wp-block-table.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 resources/css/blocks/wp-block-table.css diff --git a/resources/css/blocks/wp-block-table.css b/resources/css/blocks/wp-block-table.css new file mode 100644 index 0000000..3d85bc7 --- /dev/null +++ b/resources/css/blocks/wp-block-table.css @@ -0,0 +1,20 @@ +.wp-block-table { + color: red !important; + thead { + @apply bg-primary text-white; + th { + @apply uppercase !font-normal tracking-widest border-none; + } + } + + th, + td { + @apply py-4; + } + td { + @apply !text-primary; + border-top: none !important; + border-left: none !important; + border-right: none !important; + } +}