Merge branch 'edit-reminder--1' of MyFit/users-myfit into master

This commit is contained in:
2023-02-16 13:46:50 +00:00
committed by Gogs
4 changed files with 11 additions and 7 deletions
@@ -9,7 +9,8 @@ export default function InputCom({
iconName,
inputHandler,
value,
maxLength
maxLength,
borderColor
}) {
return (
<div className="input-com">
@@ -21,12 +22,12 @@ export default function InputCom({
{label}
</label>
)}
<div className="input-wrapper border border-light-purple dark:border-[#5356fb29] w-full rounded-[50px] h-[58px] overflow-hidden relative ">
<div className={`input-wrapper border border-light-purple dark:border-[#5356fb29] w-full rounded-[50px] h-[58px] overflow-hidden relative ${borderColor}`}>
<input
placeholder={placeholder}
value={value}
onChange={inputHandler}
className="input-field placeholder:text-base text-base px-6 text-dark-gray dark:text-white w-full h-full bg-[#FAFAFA] dark:bg-[#11131F] focus:ring-0 focus:outline-none"
className="input-field placeholder:text-base text-base px-6 text-dark-gray dark:text-white w-full h-full bg-[#FAFAFA] dark:bg-[#11131F] focus:ring-0 focus:outline-none"
type={type}
id={name}
name={name}
+2 -1
View File
@@ -128,6 +128,7 @@ export default function AddEditReminder({ className }) {
value={reminder.description}
inputHandler={onReminderInputChange}
maxLength={100}
borderColor='border border-pink'
/>
</div>
@@ -229,7 +230,7 @@ export default function AddEditReminder({ className }) {
value={reminder.notes}
placeholder="Provide a detailed description of your item."
rows="7"
className="w-full h-full px-7 py-4 border border-light-purple dark:border-[#5356fb29] rounded-[20px] text-dark-gray dark:text-white bg-[#FAFAFA] dark:bg-[#11131F] focus:ring-0 focus:outline-none resize-none"
className="w-full h-full px-7 py-4 border border-pink dark:border-[#5356fb29] rounded-[20px] text-dark-gray dark:text-white bg-[#FAFAFA] dark:bg-[#11131F] focus:ring-0 focus:outline-none resize-none"
onChange={onReminderInputChange}
maxLength={250}
/>
@@ -205,7 +205,6 @@ export default function ReminderTable({ className }) {
})
)
}
</tbody>
</table>
</div>