From bd144e40af14a6cb8206b67412d0658257b0c049 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 4 Apr 2019 15:29:03 +0300 Subject: Modal window styling --- vnext/src/components/Modal.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'vnext/src/components/Modal.js') diff --git a/vnext/src/components/Modal.js b/vnext/src/components/Modal.js index 50516d05..799a6f35 100644 --- a/vnext/src/components/Modal.js +++ b/vnext/src/components/Modal.js @@ -3,19 +3,11 @@ import PropTypes from 'prop-types'; import Icon from './Icon'; +import './Modal.css'; + function Modal(props) { - // The gray background - const backdropStyle = { - position: 'fixed', - top: 0, - bottom: 0, - left: 0, - right: 0, - backgroundColor: 'rgba(0, 0, 0, 0.3)', - padding: 50 - }; return props.show ? ( -
+
-- cgit v1.2.3