diff options
| author | jackyzha0 <[email protected]> | 2020-05-25 23:05:04 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-25 23:05:04 -0700 |
| commit | 0568ee72bd05ed16cf5250a444d936821c42b524 (patch) | |
| tree | f9f1b1fcc58a9b5658579cf68e3025f15719abf3 /frontend/src/components/modals | |
| parent | add icon, fix title, add content to meta (diff) | |
| download | ctrl-v-0568ee72bd05ed16cf5250a444d936821c42b524.tar.xz ctrl-v-0568ee72bd05ed16cf5250a444d936821c42b524.zip | |
various fixes
Diffstat (limited to 'frontend/src/components/modals')
| -rw-r--r-- | frontend/src/components/modals/PasswordModal.js | 3 | ||||
| -rw-r--r-- | frontend/src/components/modals/shared.js | 5 |
2 files changed, 7 insertions, 1 deletions
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 { </RightPad> <LeftPad> <input className="lt-button lt-shadow lt-hover" type="submit" value="continue" /> + <Padding /> <Error ref={this.ErrorLabel} /> </LeftPad> </form> 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 |