Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
271ffbb508
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 not overriden with Bootstrap default `flex` value.
+	See: https://github.com/ckeditor/ckeditor5/issues/1373. */
+	display: block;
 }