UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

29 lines 689 B
import { css } from '@emotion/react'; import { wrapperDefault } from '../styles'; export var wrapperStyle = css(wrapperDefault, { cursor: 'pointer', display: 'inline-flex', margin: "1px 1px ".concat("var(--ds-space-050, 4px)"), '> img': { borderRadius: "var(--ds-border-radius, 3px)" }, '&::after, &::before': { verticalAlign: 'text-top', display: 'inline-block', width: '1px', content: "''" }, '&.with-children': { padding: 0, background: "var(--ds-background-neutral-subtle, white)" } }); export var inlineWrapperStyels = css({ maxWidth: '100%', 'tr &': { maxWidth: 'inherit' }, '.rich-media-item': { maxWidth: '100%' } });