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/PasteModal.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/PasteModal.js')
| -rw-r--r-- | frontend/src/components/modals/PasteModal.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/frontend/src/components/modals/PasteModal.js b/frontend/src/components/modals/PasteModal.js index 6c74e19..c91bbb4 100644 --- a/frontend/src/components/modals/PasteModal.js +++ b/frontend/src/components/modals/PasteModal.js @@ -1,21 +1,10 @@ import React from 'react'; import Modal from 'react-modal'; -import { LeftPad, ModalHeader, RightPad } from './shared' +import {LeftPad, ModalHeader, modalStyles, RightPad} from './shared' import { useHistory } from 'react-router-dom'; import { Text } from '../Inputs' import { useClipboard } from 'use-clipboard-copy'; -const modalStyles = { - content: { - top: '50%', - left: '50%', - transform: 'translate(-50%, -50%)', - width: '500px', - height: '250px', - border: '1px solid #11111188' - } -}; - const PasteModal = (props) => { const history = useHistory(); const fullURL = `${window.location.origin}/${props.hash}`; |