import { css } from '@emotion/react';
import { wrapperDefault } from '../styles';
export const wrapperStyle = css(wrapperDefault, {
  cursor: 'pointer',
  display: 'inline-flex',
  margin: `1px 1px ${"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 const inlineWrapperStyels = css({
  maxWidth: '100%',
  'tr &': {
    maxWidth: 'inherit'
  },
  '.rich-media-item': {
    maxWidth: '100%'
  }
});