fix(ui): vertical alignment issues (#28944)
Co-authored-by: akash-moradiya <akash.moradiya@smallest.ai>
This commit is contained in:
@@ -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>);
|
||||
|
||||
Reference in New Issue
Block a user