瀏覽代碼

Added some vertical spacing around html embeds.

Aleksander Nowodzinski 5 年之前
父節點
當前提交
03446e7c3d
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      packages/ckeditor5-html-embed/theme/htmlembed.css

+ 7 - 0
packages/ckeditor5-html-embed/theme/htmlembed.css

@@ -5,6 +5,8 @@
 
 /* The feature container. */
 .ck-widget.raw-html {
+	/* Give the embed some air. */
+	margin: 1em auto;
 	position: relative;
 
 	/* The switch mode button wrapper. */
@@ -30,3 +32,8 @@
 		}
 	}
 }
+
+.ck-content .raw-html-embed {
+	/* Give the embed some air. */
+	margin: 1em auto;
+}