Ver código fonte

Table selection handler should not be truncated inside block quote and as first child in the content.

dkonopka 7 anos atrás
pai
commit
b8aa8f6592

+ 8 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css

@@ -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) );
+}