remove size prop and fix search icon

This commit is contained in:
Oleg Isonen committed 2022-10-08 19:51:35 +02:00
1 parent e777b735f3
commit 652fcea031
3 files changed
+5 -3

No files matched your search

-1
View File
@@ -84,7 +84,6 @@ export const Login = ({ errorMessage }: { errorMessage: string }) => {
}}
>
<TextField
size={2}
name="secret"
type="text"
minLength={2}
@@ -55,7 +55,6 @@ export const SelectProjectCard = ({
<Form method="post">
<Flex gap="1">
<TextField
size={2}
state={errors ? "invalid" : undefined}
name="project"
defaultValue={newProject}
@@ -30,7 +30,11 @@ export const Search = ({ onSearch, selectedInstanceData }: SearchProps) => {
type="search"
value={search}
inputRef={inputRef}
prefix={<MagnifyingGlassIcon />}
prefix={
<IconButton aria-label="Search">
<MagnifyingGlassIcon />
</IconButton>
}
suffix={
search.length > 0 && (
<IconButton