Skip to content

Commit

Permalink
update placeholder text and add padding to avoid overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
Srayash committed Nov 5, 2024
1 parent 6f74b0f commit 6f28f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Common/DateInputV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ const DateInputV2: React.FC<Props> = ({
type="text"
readOnly
disabled={disabled}
className={`cui-input-base cursor-pointer disabled:cursor-not-allowed ${className}`}
className={`cui-input-base cursor-pointer pr-5 disabled:cursor-not-allowed ${className}`}
placeholder={placeholder ?? t("select_date")}
value={value ? dayjs(value).format(dateFormat) : ""}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Symptoms/SymptomsBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ const AddSymptom = (props: {
<DateFormField
name="onset_date"
id="symptoms_onset_date"
placeholder="Date of onset"
placeholder="onset Date"
disableFuture
value={onsetDate}
onChange={({ value }) => setOnsetDate(value)}
Expand Down

0 comments on commit 6f28f85

Please sign in to comment.