Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

remove size prop and fix search icon

Oleg Isonen652fcea031dc
diff --git a/apps/designer/app/auth/login.tsx b/apps/designer/app/auth/login.tsx
index 9e2794fc14..f300aa904f 100644
--- a/apps/designer/app/auth/login.tsx
+++ b/apps/designer/app/auth/login.tsx
@@ -84,7 +84,6 @@ export const Login = ({ errorMessage }: { errorMessage: string }) => {
}}
>
<TextField
- size={2}
name="secret"
type="text"
minLength={2}
diff --git a/apps/designer/app/dashboard/components/card.tsx b/apps/designer/app/dashboard/components/card.tsx
index aa1ec752f8..5e4a9f1c58 100644
--- a/apps/designer/app/dashboard/components/card.tsx
+++ b/apps/designer/app/dashboard/components/card.tsx
@@ -55,7 +55,6 @@ export const SelectProjectCard = ({
<Form method="post">
<Flex gap="1">
<TextField
- size={2}
state={errors ? "invalid" : undefined}
name="project"
defaultValue={newProject}
diff --git a/apps/designer/app/designer/features/style-panel/search.tsx b/apps/designer/app/designer/features/style-panel/search.tsx
index 2dba14e608..299ce19933 100644
--- a/apps/designer/app/designer/features/style-panel/search.tsx
+++ b/apps/designer/app/designer/features/style-panel/search.tsx
@@ -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