@ckeditor/ckeditor5-media-embed
Version:
Media embed feature for CKEditor 5.
24 lines (19 loc) • 908 B
CSS
/*
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
.ck-content .media {
/* Don't allow floated content overlap the media.
https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */
clear: both;
/* Make sure there is some space between the content and the media. */
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
margin: 0.9em 0;
/* Make sure media is not overriden with Bootstrap default `flex` value.
See: https://github.com/ckeditor/ckeditor5/issues/1373. */
display: block;
/* Give the media some minimal width in the content to prevent them
from being "squashed" in tight spaces, e.g. in table cells (#44) */
min-width: 15em;
}