Skip to content

Commit

Permalink
fix data-colwidth instead of colwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefED committed Oct 30, 2024
1 parent 3c09ce3 commit 3dfe477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions style/tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.ProseMirror table {
border-collapse: collapse;
table-layout: fixed;
width: 100%;
/* width: 100%; */
overflow: hidden;
}
.ProseMirror td,
Expand All @@ -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);
}
Expand Down

0 comments on commit 3dfe477

Please sign in to comment.