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.

Update lock.tsx

Sultanc3fb36024ae1
diff --git a/apps/designer/app/designer/features/style-panel/sections/layout/shared/lock.tsx b/apps/designer/app/designer/features/style-panel/sections/layout/shared/lock.tsx
index 4db3ccd0a1..d8f8f0821b 100644
--- a/apps/designer/app/designer/features/style-panel/sections/layout/shared/lock.tsx
+++ b/apps/designer/app/designer/features/style-panel/sections/layout/shared/lock.tsx
@@ -43,10 +43,7 @@ export const Lock = ({
justifyContent: "center",
}}
>
- <IconButton
- onClick={() => setIsPaired((value) => !value)}
- css={{ width: "100%" }}
- >
+ <IconButton onClick={() => setIsPaired((value) => !value)}>
{isPaired ? <LockCloseIcon /> : <LockOpenIcon />}
</IconButton>
</Flex>