editor: improve table cell styling (#8960)

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-11-24 14:18:13 +05:00
committed by Abdullah Atta
parent c1370af395
commit 82685314f7

View File

@@ -316,6 +316,31 @@ img.ProseMirror-separator {
.ProseMirror table p {
margin: 0;
}
.ProseMirror td > h1:first-child,
.ProseMirror td > h2:first-child,
.ProseMirror td > h3:first-child,
.ProseMirror td > h4:first-child,
.ProseMirror td > h5:first-child,
.ProseMirror td > h6:first-child {
margin-top: 0;
}
.ProseMirror td > ol,
.ProseMirror td > ul {
padding-left: 20px;
margin-top: 0;
}
.ProseMirror td > blockquote {
margin-left: 0;
margin-top: 0;
}
.ProseMirror td > blockquote > :first-child {
margin-top: 0;
}
/*
.resize-cursor {