diff --git a/packages/core/src/editor/editor.css b/packages/core/src/editor/editor.css index 28bcc030cd..407b1262c8 100644 --- a/packages/core/src/editor/editor.css +++ b/packages/core/src/editor/editor.css @@ -151,16 +151,15 @@ Tippy popups that are appended to document.body directly .bn-editor [data-content-type="table"] .tableWrapper { /* Size of + buttons to add rows/columns. */ --bn-table-widget-size: 22px; + /* Size of table handles, divided by 2 since half the element is in the cell. */ + --bn-table-handle-size: calc(18px / 2); overflow-y: hidden; - padding-bottom: var(--bn-table-widget-size); + padding: var(--bn-table-handle-size) var(--bn-table-widget-size) + var(--bn-table-widget-size) var(--bn-table-handle-size); position: relative; width: 100%; } -.bn-editor [data-content-type="table"] .tableWrapper-inner { - width: calc(100% - var(--bn-table-widget-size)); -} - /* table related: */ .bn-editor [data-content-type="table"] table { width: auto !important;