mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
remove size prop and fix search icon
This commit is contained in:
1 parent
e777b735f3
commit
652fcea031
3 files changed
+5
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user