diff --git a/canopeum_frontend/src/components/analytics/ImageUpload.scss b/canopeum_frontend/src/components/analytics/ImageUpload.scss new file mode 100644 index 000000000..8fdd95c93 --- /dev/null +++ b/canopeum_frontend/src/components/analytics/ImageUpload.scss @@ -0,0 +1,11 @@ +@import '../../App.scss'; + +.upload-button { + background-color: var(--bs-body-bg); +} + +.upload-instruction { + background-color: var(--bs-body-bg); + border-radius: $border-radius; + padding: 0 0.5rem; +} diff --git a/canopeum_frontend/src/components/analytics/ImageUpload.tsx b/canopeum_frontend/src/components/analytics/ImageUpload.tsx index 838ce120f..bdc3ca3d6 100644 --- a/canopeum_frontend/src/components/analytics/ImageUpload.tsx +++ b/canopeum_frontend/src/components/analytics/ImageUpload.tsx @@ -1,4 +1,6 @@ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions -- custom input label */ +import './ImageUpload.scss' + import type { ChangeEvent, DragEvent } from 'react' import { useTranslation } from 'react-i18next' @@ -51,8 +53,8 @@ const ImageUpload = ({ id, onChange, imageUrl }: Props) => { }} > -