Explorar o código

Media embed should be always displayed with display: block.

dkonopka %!s(int64=7) %!d(string=hai) anos
pai
achega
b9e3fea80e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 displayed properly (overwrite Bootstrap default styles).
+	See: https://github.com/ckeditor/ckeditor5/issues/1373. */
+	display: block;
 }