Skip to content

Commit 75bd1b3

Browse files
fix(ui): vertical alignment issues (calcom#28944)
Co-authored-by: akash-moradiya <akash.moradiya@smallest.ai>
1 parent 961989c commit 75bd1b3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/web/modules/event-types/views/event-types-listing-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ const CTA = ({ profileOptions }: { profileOptions: ProfileOption[] }) => {
921921
<TextField
922922
className="max-w-64"
923923
addOnLeading={<SearchIcon className="h-4 w-4 text-subtle" />}
924-
containerClassName="max-w-64 focus:ring-offset-0!"
924+
containerClassName="max-w-64 focus:ring-offset-0! *:mb-0"
925925
type="search"
926926
value={searchTerm}
927927
autoComplete="false"

apps/web/modules/settings/my-account/general-view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ const GeneralView = ({ user, travelSchedules }: GeneralViewProps) => {
287287
</>
288288
)}
289289
/>
290-
<div className="text-gray text-subtle mt-2 flex items-center text-xs">
291-
<Icon name="info" className="mr-2" />
290+
<div className="text-gray text-subtle mt-2 flex items-start text-xs">
291+
<Icon name="info" className="mr-2 mt-0.25" />
292292
{t("timeformat_profile_hint")}
293293
</div>
294294
<Controller

packages/ui/components/form/inputs/TextField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
211211
{type === "search" && inputValue?.toString().length > 0 && (
212212
<Icon
213213
name="x"
214-
className="text-subtle absolute top-2.5 h-4 w-4 cursor-pointer ltr:right-2 rtl:left-2"
214+
className="text-subtle absolute top-1.75 h-4 w-4 cursor-pointer ltr:right-2 rtl:left-2"
215215
onClick={(e) => {
216216
setInputValue("");
217217
props.onChange?.(e as unknown as React.ChangeEvent<HTMLInputElement>);

0 commit comments

Comments
 (0)