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.

return to the size 2 upload button and return to previous border radius

Oleg Isonen0e37b9e5a41b
diff --git a/apps/designer/app/designer/shared/assets/asset-upload.tsx b/apps/designer/app/designer/shared/assets/asset-upload.tsx
index 5f7c107f60..ffec2741a5 100644
--- a/apps/designer/app/designer/shared/assets/asset-upload.tsx
+++ b/apps/designer/app/designer/shared/assets/asset-upload.tsx
@@ -45,6 +45,7 @@ export const AssetUpload = ({ type }: AssetUploadProps) => {
variant="blue"
type="button"
onClick={() => inputRef?.current?.click()}
+ size={2}
css={{ flexGrow: 1 }}
>
<Flex align="center" gap={1}>
diff --git a/packages/design-system/src/components/button.tsx b/packages/design-system/src/components/button.tsx
index f165abd367..eb9ad25417 100644
--- a/packages/design-system/src/components/button.tsx
+++ b/packages/design-system/src/components/button.tsx
@@ -46,7 +46,7 @@ export const Button = styled("button", {
fontSize: "$1",
},
"2": {
- borderRadius: "$1",
+ borderRadius: "$2",
height: 28, // @todo waiting for the sizing scale
px: "$3",
fontSize: "$3",