浏览代码

Merge pull request #249 from ckeditor/t/ckeditor5-theme-lark/209

Other: Moved widget spacing styles from ckeditor5-theme-lark to the feature content styles sheet (see ckeditor/ckeditor5-theme-lark#209).
Damian Konopka 7 年之前
父节点
当前提交
fe30b6455b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/ckeditor5-image/theme/image.css

+ 3 - 0
packages/ckeditor5-image/theme/image.css

@@ -7,6 +7,9 @@
 	clear: both;
 	clear: both;
 	text-align: center;
 	text-align: center;
 
 
+	/* Make sure there is some space between the content and the image. */
+	margin: 1em 0;
+
 	& > img {
 	& > img {
 		/* Prevent unnecessary margins caused by line-height (see #44). */
 		/* Prevent unnecessary margins caused by line-height (see #44). */
 		display: block;
 		display: block;