mediaembed.css 721 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. .ck-content .media {
  6. /* Don't allow floated content overlap the media.
  7. https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */
  8. clear: both;
  9. /* Make sure there is some space between the content and the media. */
  10. margin: 1em 0;
  11. /* Make sure media is not overriden with Bootstrap default `flex` value.
  12. See: https://github.com/ckeditor/ckeditor5/issues/1373. */
  13. display: block;
  14. /* Give the media some minimal width in the content to prevent them
  15. from being "squashed" in tight spaces, e.g. in table cells (#44) */
  16. min-width: 15em;
  17. }