Skip to content

Commit c9fc6c1

Browse files
committed
update font size on inputs to match buttons
1 parent 303a628 commit c9fc6c1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/dashboard/src/components/forms/SelectInputField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const SelectInput: FunctionComponent<SelectInputProps> = memo(
9090
return (
9191
<select
9292
id={id}
93-
className={classNames("w-full max-w-lg", className)}
93+
className={classNames("w-full max-w-lg text-sm", className)}
9494
value={value}
9595
disabled={disabled}
9696
required={required}

components/dashboard/src/components/forms/TextInputField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export const TextInput: FunctionComponent<TextInputProps> = memo(
9797
return (
9898
<input
9999
id={id}
100-
// 5px top/bottom padding ensures height matches buttons (36px)
101-
className={cn("py-[5px] w-full max-w-lg rounded-lg dark:text-[#A8A29E]", className)}
100+
// 7px top/bottom padding ensures height matches buttons (36px)
101+
className={cn("py-[7px] w-full max-w-lg rounded-lg dark:text-[#A8A29E]", "text-sm", className)}
102102
value={value}
103103
type={type}
104104
placeholder={placeholder}

components/dashboard/src/repositories/list/RepositoryTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const RepositoryTable: FC<Props> = ({
5151
{/* Search/Filter bar */}
5252
<div className="flex flex-col-reverse md:flex-row flex-wrap justify-between items-center gap-2">
5353
<div className="flex flex-row flex-wrap items-center w-full md:w-auto">
54-
{/* TODO: Add search icon on left and decide on pulling Inputs into podkit */}
54+
{/* TODO: Add search icon on left - need to revisit TextInputs for podkit - and remove global styles */}
5555
<TextInput
5656
className="w-full max-w-none md:w-80"
5757
value={searchTerm}

0 commit comments

Comments
 (0)