Skip to content

Commit 5287e96

Browse files
authored
fix: remove scrub icon from gap input (#5130)
We no longer support scrub on input icons like in gap.
1 parent d17fe39 commit 5287e96

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,7 @@ export const CssValueInput = ({
660660

661661
const finalPrefix =
662662
prefix ||
663-
(icon && (
664-
<NestedIconLabel
665-
color={styleSource}
666-
css={value.type === "unit" ? { cursor: "ew-resize" } : undefined}
667-
>
668-
{icon}
669-
</NestedIconLabel>
670-
));
663+
(icon && <NestedIconLabel color={styleSource}>{icon}</NestedIconLabel>);
671664

672665
const keywordButtonElement =
673666
value.type === "keyword" && items.length !== 0 ? (

0 commit comments

Comments
 (0)