Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Table selection handler should not be truncated inside block quote an…
Browse files Browse the repository at this point in the history
…d as first child in the content.
  • Loading branch information
dkonopka committed Jan 17, 2019
1 parent 8416dd1 commit 0935414
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theme/ckeditor5-table/tableediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@
}
}
}

.ck-editor__editable > .table:first-child,
.ck-editor__editable blockquote > .table:first-child {
/* `16px` = var(--ck-widget-handler-icon-size) - table selection handler height.
https://github.com/ckeditor/ckeditor5-block-quote/issues/28
https://github.com/ckeditor/ckeditor5-widget/issues/44 */
margin-top: calc(1em + var(--ck-widget-handler-icon-size) );
}

0 comments on commit 0935414

Please sign in to comment.