aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Modal.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-04 15:29:03 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitbd144e40af14a6cb8206b67412d0658257b0c049 (patch)
treeaf5a302e036ff607870799b1eb5b2326eaa2229c /vnext/src/components/Modal.js
parentc91105360bedcd500ab927798d0b2e262b6ceed3 (diff)
Modal window styling
Diffstat (limited to 'vnext/src/components/Modal.js')
-rw-r--r--vnext/src/components/Modal.js14
1 files changed, 3 insertions, 11 deletions
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 ? (
- <div id="dialogt" style={backdropStyle}>
+ <div id="dialogt">
<div id="dialogw">
<div id="dialog_header">
<div id="dialogc" onClick={props.onClose}>