From 3a98b062a96886dfe7c8cfc55f03b7620994efd2 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Thu, 20 Apr 2023 07:43:49 +0100 Subject: [PATCH] Add more space for buttons next to fields in TypedTableBlock --- .../typed_table_block/scss/typed_table_block.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wagtail/contrib/typed_table_block/static_src/typed_table_block/scss/typed_table_block.scss b/wagtail/contrib/typed_table_block/static_src/typed_table_block/scss/typed_table_block.scss index 578bb8fb48..4b74a1d671 100644 --- a/wagtail/contrib/typed_table_block/static_src/typed_table_block/scss/typed_table_block.scss +++ b/wagtail/contrib/typed_table_block/static_src/typed_table_block/scss/typed_table_block.scss @@ -94,4 +94,14 @@ .control-cell ul.add-column-menu { top: 0; } + + .w-field--commentable { + // Add enough space for the comment button. + padding-inline-end: theme('spacing.8'); + } + + .w-field--draftail_rich_text_area { + // Add enough space for the block picker. + padding-inline-start: theme('spacing.9'); + } }