fix: MediaLibraryHeader CloseButton style (#1883)
This commit is contained in:
parent
c55402b322
commit
034c29ad65
@ -1,9 +1,10 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import styled from 'react-emotion';
|
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`
|
const CloseButton = styled.button`
|
||||||
|
${buttons.button};
|
||||||
${shadows.dropMiddle};
|
${shadows.dropMiddle};
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-right: -40px;
|
margin-right: -40px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user