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: style panel indication issue when we use calc() (#5042)

victor immanuel766e83b5fd84
diff --git a/apps/builder/app/builder/features/style-panel/shared/style-section.tsx b/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
index cc67ab0683..a97ebd1ba3 100644
--- a/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
+++ b/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
@@ -19,10 +19,7 @@ export const getDots = (styles: ComputedStyleDecl[]) => {
for (const styleDecl of styles) {
// Unparsed values are not editable directly in the section, so we don't show the dot
- if (
- styleDecl.usedValue.type === "unparsed" ||
- styleDecl.usedValue.type === "guaranteedInvalid"
- ) {
+ if (styleDecl.usedValue.type === "guaranteedInvalid") {
return [];
}