From 0568ee72bd05ed16cf5250a444d936821c42b524 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 25 May 2020 23:05:04 -0700 Subject: various fixes --- frontend/src/components/modals/PasswordModal.js | 3 ++- frontend/src/components/modals/shared.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'frontend/src/components/modals') diff --git a/frontend/src/components/modals/PasswordModal.js b/frontend/src/components/modals/PasswordModal.js index 619e60a..527fc54 100644 --- a/frontend/src/components/modals/PasswordModal.js +++ b/frontend/src/components/modals/PasswordModal.js @@ -1,7 +1,7 @@ import React from 'react'; import Modal from 'react-modal'; import { PassInput } from '../Inputs' -import { RightPad, LeftPad, ModalHeader } from './shared' +import { RightPad, LeftPad, ModalHeader, Padding } from './shared' import Error from '../Err'; const modalStyles = { @@ -51,6 +51,7 @@ class PasswordModal extends React.Component { + diff --git a/frontend/src/components/modals/shared.js b/frontend/src/components/modals/shared.js index 9359436..d63be06 100644 --- a/frontend/src/components/modals/shared.js +++ b/frontend/src/components/modals/shared.js @@ -11,3 +11,8 @@ export const LeftPad = styled.div` export const ModalHeader = styled.h3` font-weight: 700 ` + +export const Padding = styled.span` + content: ' '; + margin-right: 2em; +` \ No newline at end of file -- cgit v1.2.3