Skip to content

Commit

Permalink
Fix: #7536 (#7549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryanshu919 authored Apr 17, 2024
1 parent 821cf2a commit c7372fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Components/Form/FormFields/TextFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const TextFormField = forwardRef((props: TextFormFieldProps, ref) => {
);
const _trailing =
trailing === trailingFocused ? (
<div className="absolute inset-y-0 right-0 flex items-center pr-3">
<div className="relative inset-y-0 right-0 flex items-center pr-3">
{trailing}
</div>
) : (
Expand Down
6 changes: 3 additions & 3 deletions src/Components/Patient/PatientRegister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1382,10 +1382,10 @@ export const PatientRegister = (props: PatientRegisterProps) => {
{...field("age")}
errorClassName="hidden"
trailing={
<p className="absolute right-16 text-xs text-gray-700 sm:text-sm">
<p className="hidden sm:inline min-[768px]:hidden lg:inline">
<p className="absolute right-16 mb-11 text-xs text-gray-700 sm:text-sm">
<p className="hidden sm:inline min-[768px]:hidden lg:inline">
{field("age").value !== "" &&
"Year_of_Birth:"}
"Year of Birth:"}
</p>
<span className="font-bold">
{field("age").value !== "" &&
Expand Down

0 comments on commit c7372fb

Please sign in to comment.