fix: MediaLibraryHeader CloseButton style (#1883)

This commit is contained in:
Alexander Nanberg 2018-11-17 17:53:38 +01:00 committed by Tom Rutgers
parent c55402b322
commit 034c29ad65

View File

@ -1,9 +1,10 @@
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'react-emotion';
import { Icon, shadows, colors } from 'netlify-cms-ui-default';
import { Icon, shadows, colors, buttons } from 'netlify-cms-ui-default';
const CloseButton = styled.button`
${buttons.button};
${shadows.dropMiddle};
position: absolute;
margin-right: -40px;