diff --git a/frontend/src/components/dialog/create-repo-dialog.js b/frontend/src/components/dialog/create-repo-dialog.js index e3ac644de5..3315a81ae9 100644 --- a/frontend/src/components/dialog/create-repo-dialog.js +++ b/frontend/src/components/dialog/create-repo-dialog.js @@ -1,10 +1,8 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Button, Modal, ModalHeader, Input, ModalBody, ModalFooter, Form, FormGroup, Label, FormText } from 'reactstrap'; +import { Button, Modal, ModalHeader, Input, ModalBody, ModalFooter, Form, FormGroup, Label } from 'reactstrap'; import { gettext } from '../../utils/constants'; -import '../../css/modal.css'; - const propTypes = { onCreateRepo: PropTypes.func.isRequired, onCreateToggle: PropTypes.func.isRequired, @@ -148,7 +146,7 @@ class CreateRepoDialog extends React.Component { render() { return ( - + {gettext('New Library')}
@@ -173,7 +171,7 @@ class CreateRepoDialog extends React.Component { )} - {gettext('Encrypt')} + diff --git a/frontend/src/css/modal.css b/frontend/src/css/modal.css deleted file mode 100644 index ec59e1aabd..0000000000 --- a/frontend/src/css/modal.css +++ /dev/null @@ -1,18 +0,0 @@ -.repo-dialog .modal-body label { - padding: 0.5rem 0 0.25rem; - font-weight: bold; - color: #333; - font-size: 0.8125rem; -} - -.repo-dialog .modal-body label.form-check-label { - font-weight: normal; - padding: 0.25rem 0; -} - -.repo-dialog .modal-body .tip { - font-weight: normal; - color: #808080; - font-size: 0.75rem; - margin-bottom: 1rem; -} \ No newline at end of file diff --git a/frontend/src/css/share-link-dialog.css b/frontend/src/css/share-link-dialog.css index 05a3b67378..7f79cfe71a 100644 --- a/frontend/src/css/share-link-dialog.css +++ b/frontend/src/css/share-link-dialog.css @@ -1,8 +1,3 @@ -.share-dialog { - color: #333; - font-size: 0.8125rem; -} - .share-dialog .share-dialog-content { padding: 0; min-height: 15rem; @@ -46,7 +41,6 @@ .tip { color: #808080; - font-size: 0.75rem; margin-bottom: 1rem; } @@ -65,7 +59,6 @@ .share-dialog .nav .nav-item .nav-link { padding: 0.3125rem 1rem 0.3125rem 0.25rem; - font-size: 0.875rem; } input.expire-input {