tables.css 760 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .ProseMirror .tableWrapper {
  2. overflow-x: auto;
  3. }
  4. .ProseMirror table {
  5. border-collapse: collapse;
  6. table-layout: fixed;
  7. width: 100%;
  8. overflow: hidden;
  9. }
  10. .ProseMirror td,
  11. .ProseMirror th {
  12. vertical-align: top;
  13. box-sizing: border-box;
  14. position: relative;
  15. }
  16. .ProseMirror .column-resize-handle {
  17. position: absolute;
  18. right: -2px;
  19. top: 0;
  20. bottom: 0;
  21. width: 4px;
  22. z-index: 20;
  23. background-color: #adf;
  24. pointer-events: none;
  25. }
  26. .ProseMirror.resize-cursor {
  27. cursor: ew-resize;
  28. cursor: col-resize;
  29. }
  30. /* Give selected cells a blue overlay */
  31. .ProseMirror .selectedCell:after {
  32. z-index: 2;
  33. position: absolute;
  34. content: '';
  35. left: 0;
  36. right: 0;
  37. top: 0;
  38. bottom: 0;
  39. background: rgba(200, 200, 255, 0.4);
  40. pointer-events: none;
  41. }