diff --git a/assets/less/zenodo-rdm/globals/site.overrides b/assets/less/zenodo-rdm/globals/site.overrides index 32769d49..4d29f2da 100644 --- a/assets/less/zenodo-rdm/globals/site.overrides +++ b/assets/less/zenodo-rdm/globals/site.overrides @@ -55,11 +55,41 @@ a.inverted { } -#contact-page { +#contact-page { - .panel-body { - padding-top: 2*@defaultPadding; - padding-left: 2*@defaultPadding; + .field.flex { + @media screen and (max-width: @largestMobileScreen) { + display: block; + width: 100% !important; + } + + label { + min-width: 10rem; + + + div { + flex: 1 1 0; + } + } + + .toggle { + text-align: left; + } + } + + .label-padding { + padding-left: 10rem; + + @media screen and (max-width: @largestMobileScreen) { + padding-left: 0; + } + } + + .dropzone { + width: 100%; + border: 1px solid @borderColor; + border-radius: @defaultBorderRadius; + padding: @defaultPadding; + cursor: pointer; } } diff --git a/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/CategoryDropdown.js b/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/CategoryDropdown.js index d874b427..84d1ed3a 100644 --- a/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/CategoryDropdown.js +++ b/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/CategoryDropdown.js @@ -38,7 +38,7 @@ class CategoryDropdown extends Component { } render() { - const { categories } = this.props; + const { categories, className } = this.props; const { activeCategory} = this.state; const serializedCategories = categories.map((cat) => (this.serializeCategory(cat))); @@ -52,8 +52,12 @@ class CategoryDropdown extends Component { required width={4} onChange={this.onChange} + className={className} + /> +
- {} > ) } @@ -61,12 +65,14 @@ class CategoryDropdown extends Component { CategoryDropdown.propTypes = { categories: PropTypes.array, - defaultCategory: PropTypes.string + defaultCategory: PropTypes.string, + className: PropTypes.string, }; CategoryDropdown.defaultProps = { categories: [], - defaultCategory: '' + defaultCategory: '', + className: '', }; export default CategoryDropdown; \ No newline at end of file diff --git a/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/FileUploader.js b/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/FileUploader.js index 0af8f1e1..18281c6e 100644 --- a/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/FileUploader.js +++ b/site/zenodo_rdm/assets/semantic-ui/js/zenodo_rdm/src/support/components/FileUploader.js @@ -6,33 +6,30 @@ import FileTable from "./FileTable"; const FileUploader = ({ dropzoneParams, maxFileSize, name, currentFiles, handleDelete }) => { return ( -+ Drag files here, or click to select files +
Before making a request, you can have a look at our FAQ and other resources for more detailed information about the operation, features and goals of Zenodo.
@@ -21,7 +21,7 @@