diff --git a/src/styles.css b/src/styles.css index cd7f01d..9da6131 100644 --- a/src/styles.css +++ b/src/styles.css @@ -143,3 +143,9 @@ } h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.01em; } } + +/* Custom form editor: table + caption styling */ +.ProseMirror table { border-collapse: collapse; margin: 8px 0; width: 100%; table-layout: fixed; } +.ProseMirror th, .ProseMirror td { border: 1px solid #999; padding: 6px 8px; vertical-align: top; min-width: 40px; } +.ProseMirror th { background: #f3f4f6; font-weight: 600; text-align: left; } +.ProseMirror .selectedCell { background: rgba(59,130,246,0.15); }