Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"fixes UI bugs with symptoms editor" #8998 #9003

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Common/DateInputV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,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
4 changes: 2 additions & 2 deletions src/components/Form/FormFields/AutocompleteMultiselect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ export const AutocompleteMutliSelect = <T, V>(
ref={comboButtonRef}
className="absolute inset-y-0 right-0 flex items-center pr-2"
>
<div className="absolute right-0 top-1 mr-2 flex items-center text-lg text-secondary-900">
<div className="text-lg text-secondary-900">
{props.isLoading ? (
<CareIcon icon="l-spinner" className="animate-spin" />
) : (
<CareIcon
id="dropdown-toggle"
icon="l-angle-down"
className="-mb-1.5"
className="text-lg"
/>
)}
</div>
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 @@ -298,7 +298,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
Loading