From 3562056d72f610b77db8fa887a192ef1f55c4e23 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 5 May 2026 08:40:36 -0400 Subject: [PATCH] Reduce minimum table col width to 25px (#12269) --- shared/editor/components/Styles.ts | 1 - shared/editor/nodes/Table.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index dd5d8c55a2..7b5696b73e 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -2059,7 +2059,6 @@ table { position: relative; padding: 4px 8px; text-align: start; - min-width: 100px; font-weight: normal; border-left: 1px solid ${props.theme.divider}; border-top: 1px solid ${props.theme.divider}; diff --git a/shared/editor/nodes/Table.ts b/shared/editor/nodes/Table.ts index 21f99d95f9..38418734c0 100644 --- a/shared/editor/nodes/Table.ts +++ b/shared/editor/nodes/Table.ts @@ -163,6 +163,7 @@ export default class Table extends Node { // Note: Important to register columnResizing before tableEditing columnResizing({ View: TableView, + defaultCellMinWidth: 25, }), tableEditing(), new FixTablesPlugin(),