diff --git a/src/index.css b/src/index.css index a6540d8..f44fe74 100644 --- a/src/index.css +++ b/src/index.css @@ -172,4 +172,21 @@ .fade-enter, .fade-exit-to { opacity: 0; +} + +/* --- Tiptap Table Selection --- */ +.ProseMirror td.selectedCell, +.ProseMirror th.selectedCell { + background: color-mix(in srgb, var(--primary), transparent 90%); + position: relative; +} + +.ProseMirror td.selectedCell::after, +.ProseMirror th.selectedCell::after { + content: ""; + position: absolute; + inset: -1px; + border: 2px solid var(--primary); + pointer-events: none; + z-index: 10; } \ No newline at end of file