diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-31 21:20:31 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-31 21:20:45 -0400 |
commit | e8a1b406f58e0cbed371250b9a863077bb42697b (patch) | |
tree | 389dfdef6b14b9bc88945f14bc6f3eb13a1035d9 | |
parent | 66525a58f29313b66c407121d6b1b25ed8670d52 (diff) |
Make record modal fields bigger
-rw-r--r-- | src/components/RecordModal.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/RecordModal.js b/src/components/RecordModal.js index 0f7a863..1208378 100644 --- a/src/components/RecordModal.js +++ b/src/components/RecordModal.js @@ -1,3 +1,4 @@ +import { AlignRight } from '../routes/SignUp' import Button from '../uikit/Button' import Input, { StyledSelect } from '../uikit/Input' import Modal from 'react-modal' @@ -26,8 +27,8 @@ export default function RecordModal(props) { <thead> <tr> <th style={{ width: '6em' }}>Type</th> - <th style={{ width: '24em' }}>Name</th> - <th style={{ width: '8em' }}>Content</th> + <th style={{ width: '18em' }}>Name</th> + <th style={{ width: '24em' }}>Content</th> <th style={{ width: '6em' }}>TTL</th> </tr> </thead> @@ -90,14 +91,14 @@ export default function RecordModal(props) { </tr> </tbody> </table> - <div style={{ display: 'flex' }}> + <AlignRight> <Button secondary onClick={() => setShowModal(false)}> Cancel </Button> <Button primary onClick={() => saveRecord()}> Save </Button> - </div> + </AlignRight> </Modal> ) } |