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.

fixes color preview inside input to be in front instead of behind the input

Oleg Isonen138ca4d17826
diff --git a/apps/designer/app/designer/features/style-panel/controls/color/color-control.tsx b/apps/designer/app/designer/features/style-panel/controls/color/color-control.tsx
index 2625a3e521..d81672f355 100644
--- a/apps/designer/app/designer/features/style-panel/controls/color/color-control.tsx
+++ b/apps/designer/app/designer/features/style-panel/controls/color/color-control.tsx
@@ -86,6 +86,7 @@ const ColorPicker = ({
margin: 3,
borderRadius: 2,
background: value,
+ zIndex: 0,
}}
/>
</Tooltip>