diff --git a/packages/client/src/tiptap/core/styles/table.scss b/packages/client/src/tiptap/core/styles/table.scss index b8b4ff18..52ae460c 100644 --- a/packages/client/src/tiptap/core/styles/table.scss +++ b/packages/client/src/tiptap/core/styles/table.scss @@ -73,12 +73,10 @@ border: 1px solid rgb(232 235 237); border-color: var(--semi-color-fill-2); - > * { - margin-bottom: 0; - } - - > p { - margin-top: 0; + :not(a) { + &:first-of-type { + margin-top: 0; + } } }