浏览代码

Merge pull request #69 from ckeditor/t/ckeditor5/1373

Fix: Media embed figures should have `display: block` in the content styles to prevent Bootstrap from changing their appearance. Closes ckeditor/ckeditor5#1373.
Aleksander Nowodzinski 7 年之前
父节点
当前提交
271ffbb508
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/ckeditor5-media-embed/theme/mediaembed.css

+ 4 - 0
packages/ckeditor5-media-embed/theme/mediaembed.css

@@ -10,4 +10,8 @@
 
 	/* Make sure there is some space between the content and the media. */
 	margin: 1em 0;
+
+	/* Make sure media is not overriden with Bootstrap default `flex` value.
+	See: https://github.com/ckeditor/ckeditor5/issues/1373. */
+	display: block;
 }