diff --git a/frontend/src/components/dialog/create-tag-dialog.js b/frontend/src/components/dialog/create-tag-dialog.js index 8d4544e5d7..63c30fa445 100644 --- a/frontend/src/components/dialog/create-tag-dialog.js +++ b/frontend/src/components/dialog/create-tag-dialog.js @@ -1,6 +1,6 @@ import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; -import { Button, ModalBody, ModalFooter, Input } from 'reactstrap'; +import { Button, ModalBody, ModalFooter, Input, Label } from 'reactstrap'; import { gettext } from '../../utils/constants'; import { TAG_COLORS } from '../../constants'; import { seafileAPI } from '../../utils/seafile-api'; @@ -77,7 +77,7 @@ class CreateTagDialog extends React.Component {
- + {this.state.errorMsg}
- +
{TAG_COLORS.map((item, index) => { return ( diff --git a/media/css/seahub_react.css b/media/css/seahub_react.css index 9acce05e87..ff937f28ae 100644 --- a/media/css/seahub_react.css +++ b/media/css/seahub_react.css @@ -1730,3 +1730,10 @@ a.table-sort-op:hover { .visually-hidden { display: none !important; } + +.form-label { + display: inline-block; + margin-bottom: .5rem; + font-weight: 400; + font-size: 15px; +} diff --git a/seahub/templates/base_for_react.html b/seahub/templates/base_for_react.html index f1463780d1..2e5b9e0cb4 100644 --- a/seahub/templates/base_for_react.html +++ b/seahub/templates/base_for_react.html @@ -21,7 +21,7 @@ - + {% block extra_style %}{% endblock %} {% if branding_css != '' %}{% endif %} diff --git a/seahub/templates/markdown_file_view_react.html b/seahub/templates/markdown_file_view_react.html index 03ff43ff54..a23629baad 100644 --- a/seahub/templates/markdown_file_view_react.html +++ b/seahub/templates/markdown_file_view_react.html @@ -15,7 +15,7 @@ - + {% render_bundle 'markdownEditor' 'css' %} {% if branding_css != '' %}{% endif %} diff --git a/seahub/templates/plain_markdown_file_view_react.html b/seahub/templates/plain_markdown_file_view_react.html index 3084f12124..5d64d602a8 100644 --- a/seahub/templates/plain_markdown_file_view_react.html +++ b/seahub/templates/plain_markdown_file_view_react.html @@ -15,7 +15,7 @@ - + {% render_bundle 'plainMarkdownEditor' 'css' %} {% if branding_css != '' %}{% endif %}