diff options
| author | jackyzha0 <[email protected]> | 2021-03-06 15:44:54 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-06 15:44:54 -0800 |
| commit | 37f05def31112563fd9d8f3b0c9bf8cebb607d86 (patch) | |
| tree | b050e9d49affc57765b91a2753e201ef707c5541 /frontend/src/components/modals/PasswordModal.js | |
| parent | code renderer virtualization, better visuals (diff) | |
| download | ctrl-v-37f05def31112563fd9d8f3b0c9bf8cebb607d86.tar.xz ctrl-v-37f05def31112563fd9d8f3b0c9bf8cebb607d86.zip | |
fix modal zindex
Diffstat (limited to 'frontend/src/components/modals/PasswordModal.js')
| -rw-r--r-- | frontend/src/components/modals/PasswordModal.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/frontend/src/components/modals/PasswordModal.js b/frontend/src/components/modals/PasswordModal.js index bf25eeb..637e20a 100644 --- a/frontend/src/components/modals/PasswordModal.js +++ b/frontend/src/components/modals/PasswordModal.js @@ -1,20 +1,9 @@ import React, { useRef } from 'react'; import Modal from 'react-modal'; import { Password } from '../Inputs' -import { RightPad, LeftPad, ModalHeader, Padding } from './shared' +import {RightPad, LeftPad, ModalHeader, Padding, modalStyles} from './shared' import Error from '../Err'; -const modalStyles = { - content: { - top: '50%', - left: '50%', - transform: 'translate(-50%, -50%)', - width: '400px', - height: '250px', - border: '1px solid #11111188' - } -}; - const PasswordModal = (props) => { const ErrorLabel = useRef(null); Modal.setAppElement('body'); |