We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257d760 commit 5ee0860Copy full SHA for 5ee0860
apps/builder/app/builder/features/style-panel/property-label.tsx
@@ -183,10 +183,12 @@ export const PropertyInfo = ({
183
</Flex>
184
}
185
suffix={<Kbd value={["option", "click"]} color="moreSubtle" />}
186
- css={{ gridTemplateColumns: "2fr 3fr 1fr" }}
+ css={{ gridTemplateColumns: "1fr max-content 1fr" }}
187
onClick={onReset}
188
>
189
- Reset value
+ {styles[0].property.startsWith("--")
190
+ ? "Delete variable"
191
+ : "Reset value"}
192
</Button>
193
)}
194
0 commit comments