From 7596f5348cff08541e763384af399917fe0b5b0f Mon Sep 17 00:00:00 2001 From: Christoph Enne Date: Sat, 10 Dec 2022 13:44:04 +0100 Subject: [PATCH] #27 update file picker appearance --- client/src/components/Boards/AddPopup.jsx | 24 +++++++++---------- .../components/Boards/AddPopup.module.scss | 5 ++++ client/src/locales/en/core.js | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/client/src/components/Boards/AddPopup.jsx b/client/src/components/Boards/AddPopup.jsx index 7ac4b9db..5556eb23 100755 --- a/client/src/components/Boards/AddPopup.jsx +++ b/client/src/components/Boards/AddPopup.jsx @@ -1,7 +1,7 @@ import React, { useCallback, useEffect, useRef, useState } from 'react'; import PropTypes from 'prop-types'; import { useTranslation } from 'react-i18next'; -import { Button, Form, Divider, Menu } from 'semantic-ui-react'; +import { Button, Form, Menu } from 'semantic-ui-react'; import { withPopup } from '../../lib/popup'; import { Input, Popup, FilePicker } from '../../lib/custom-ui'; @@ -74,17 +74,17 @@ const AddStep = React.memo(({ onCreate, onImport, onClose }) => { className={styles.field} onChange={handleFieldChange} /> - - - - {selectedFile - ? selectedFile.name - : t('common.uploadTrelloFile', { - context: 'title', - })} - - - + + + + {selectedFile + ? selectedFile.name + : t('common.uploadTrelloFile', { + context: 'title', + })} + + +