@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
20 lines • 579 B
JavaScript
import { css } from '@emotion/react';
export const embedCardStyles = css({
'.ProseMirror': {
".embedCardView-content-wrap[layout^='wrap-']": {
maxWidth: '100%'
},
".embedCardView-content-wrap[layout='wrap-left']": {
float: 'left'
},
".embedCardView-content-wrap[layout='wrap-right']": {
float: 'right'
},
".embedCardView-content-wrap[layout='wrap-right'] + .embedCardView-content-wrap[layout='wrap-left']": {
clear: 'both'
}
}
});
export const embedSpacingStyles = css({
margin: `0 ${"var(--ds-space-150, 12px)"}`
});