UNPKG

908 BCSSView Raw
1/*
2 * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5
6.ck-content .media {
7 /* Don't allow floated content overlap the media.
8 https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */
9 clear: both;
10
11 /* Make sure there is some space between the content and the media. */
12 /* The first value should be equal to --ck-spacing-large variable if used in the editor context
13 to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
14 margin: 0.9em 0;
15
16 /* Make sure media is not overriden with Bootstrap default `flex` value.
17 See: https://github.com/ckeditor/ckeditor5/issues/1373. */
18 display: block;
19
20 /* Give the media some minimal width in the content to prevent them
21 from being "squashed" in tight spaces, e.g. in table cells (#44) */
22 min-width: 15em;
23}