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.

fix: remove scrub icon from gap input (#5130)

Bogdan Chadkin5287e960a8e0
diff --git a/apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx b/apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx
index 39b59c766d..32e375a373 100644
--- a/apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx
+++ b/apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx
@@ -660,14 +660,7 @@ export const CssValueInput = ({
const finalPrefix =
prefix ||
- (icon && (
- <NestedIconLabel
- color={styleSource}
- css={value.type === "unit" ? { cursor: "ew-resize" } : undefined}
- >
- {icon}
- </NestedIconLabel>
- ));
+ (icon && <NestedIconLabel color={styleSource}>{icon}</NestedIconLabel>);
const keywordButtonElement =
value.type === "keyword" && items.length !== 0 ? (