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.

Merge branch 'text-control-prefix-icon' of github.com:webstudio-is/webstudio-designer into text-control-prefix-icon

Sultan6b5c0d6e0642
diff --cc apps/designer/app/designer/features/style-panel/shared/css-value-input/css-value-input.tsx
index b4af3b72d3,63e71dd0e9..c7773a404b
--- a/apps/designer/app/designer/features/style-panel/shared/css-value-input/css-value-input.tsx
+++ b/apps/designer/app/designer/features/style-panel/shared/css-value-input/css-value-input.tsx
@@@ -294,12 -293,12 +294,12 @@@ export const CssValueInput = (
const isCurrentBreakpoint = useIsFromCurrentBreakpoint(property);
const prefix = icon && (
- <TextFieldIconButton
+ <CssValueInputIconButton
state={isCurrentBreakpoint ? "set" : undefined}
- css={value.type == "unit" ? { cursor: "ew-resize" } : {}}
+ css={value.type == "unit" ? { cursor: "ew-resize" } : undefined}
>
{icon}
- </TextFieldIconButton>
+ </CssValueInputIconButton>
);
const suffixRef = useRef<HTMLDivElement | null>(null);