@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
20 lines • 581 B
JavaScript
import { css } from '@emotion/react';
export var 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 var embedSpacingStyles = css({
margin: "0 ".concat("var(--ds-space-150, 12px)")
});