fix(ui): vertical alignment issues (#28944)

Co-authored-by: akash-moradiya <akash.moradiya@smallest.ai>
This commit is contained in:
Akash Moradiya
2026-04-23 15:52:38 +05:30
committed by GitHub
parent 961989c054
commit 75bd1b3489
3 changed files with 4 additions and 4 deletions
@@ -921,7 +921,7 @@ const CTA = ({ profileOptions }: { profileOptions: ProfileOption[] }) => {
<TextField
className="max-w-64"
addOnLeading={<SearchIcon className="h-4 w-4 text-subtle" />}
containerClassName="max-w-64 focus:ring-offset-0!"
containerClassName="max-w-64 focus:ring-offset-0! *:mb-0"
type="search"
value={searchTerm}
autoComplete="false"
@@ -287,8 +287,8 @@ const GeneralView = ({ user, travelSchedules }: GeneralViewProps) => {
</>
)}
/>
<div className="text-gray text-subtle mt-2 flex items-center text-xs">
<Icon name="info" className="mr-2" />
<div className="text-gray text-subtle mt-2 flex items-start text-xs">
<Icon name="info" className="mr-2 mt-0.25" />
{t("timeformat_profile_hint")}
</div>
<Controller
@@ -211,7 +211,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
{type === "search" && inputValue?.toString().length > 0 && (
<Icon
name="x"
className="text-subtle absolute top-2.5 h-4 w-4 cursor-pointer ltr:right-2 rtl:left-2"
className="text-subtle absolute top-1.75 h-4 w-4 cursor-pointer ltr:right-2 rtl:left-2"
onClick={(e) => {
setInputValue("");
props.onChange?.(e as unknown as React.ChangeEvent<HTMLInputElement>);