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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: show "delete variable" in variable tooltip (#4322)
Bogdan Chadkin5ee0860cd965
diff --git a/apps/builder/app/builder/features/style-panel/property-label.tsx b/apps/builder/app/builder/features/style-panel/property-label.tsxindex 1eff785cd3..3c28dca3e7 100644--- a/apps/builder/app/builder/features/style-panel/property-label.tsx+++ b/apps/builder/app/builder/features/style-panel/property-label.tsx@@ -183,10 +183,12 @@ export const PropertyInfo = ({</Flex>}suffix={<Kbd value={["option", "click"]} color="moreSubtle" />}- css={{ gridTemplateColumns: "2fr 3fr 1fr" }}+ css={{ gridTemplateColumns: "1fr max-content 1fr" }}onClick={onReset}>- Reset value+ {styles[0].property.startsWith("--")+ ? "Delete variable"+ : "Reset value"}</Button>)}</Flex>