Update wording for clarification. Add tooltip. (#4761)

* Update wording for clarification. Add tooltip.

* Update hint to match deafult style
This commit is contained in:
Johann Kaspar Lieberwirth
2025-06-19 23:42:05 -07:00
committed by GitHub
parent da25d46df4
commit a93b05fd6e

View File

@@ -4,6 +4,8 @@ import { useFormik } from 'formik';
import * as Yup from 'yup';
import { browseDirectory } from 'providers/ReduxStore/slices/collections/actions';
import Modal from 'components/Modal';
import Help from 'components/Help';
const ImportCollectionLocation = ({ onClose, handleSubmit, collectionName }) => {
const inputRef = useRef();
@@ -54,8 +56,16 @@ const ImportCollectionLocation = ({ onClose, handleSubmit, collectionName }) =>
</label>
<div className="mt-2">{collectionName}</div>
<>
<label htmlFor="collectionLocation" className="block font-semibold mt-3">
<label htmlFor="collectionLocation" className="block font-semibold mt-3 flex items-center">
Location
<Help>
<p>
Bruno stores your collections on your computer's filesystem.
</p>
<p className="mt-2">
Choose the location where you want to store this collection.
</p>
</Help>
</label>
<input
id="collection-location"