From 3dfe477de8c184179a541e24d2142bb15dcb0e48 Mon Sep 17 00:00:00 2001 From: yousefed Date: Wed, 30 Oct 2024 04:36:31 +0100 Subject: [PATCH] fix data-colwidth instead of colwidth --- style/tables.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/style/tables.css b/style/tables.css index 3a9099e..791d8b6 100644 --- a/style/tables.css +++ b/style/tables.css @@ -4,7 +4,7 @@ .ProseMirror table { border-collapse: collapse; table-layout: fixed; - width: 100%; + /* width: 100%; */ overflow: hidden; } .ProseMirror td, @@ -14,8 +14,8 @@ position: relative; } -.ProseMirror td:not([colwidth]):not(.column-resize-dragging), -.ProseMirror th:not([colwidth]):not(.column-resize-dragging) { +.ProseMirror td:not([data-colwidth]):not(.column-resize-dragging), +.ProseMirror th:not([data-colwidth]):not(.column-resize-dragging) { /* if there's no explicit width set and the column is not being resized, set a default width */ min-width: var(--default-cell-min-width); }