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.

clarify uniqueness of the weights

Oleg Isonenbc14c9931e0e
diff --git a/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx b/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx
index 1f407da2dc..dceb154c89 100644
--- a/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx
+++ b/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx
@@ -94,6 +94,7 @@ export const FontWeightControl = ({
return (
<Select
options={labels}
+ // We use a weight as a value, because there are only 9 weights and they are unique.
value={selectedLabel}
onChange={(label) => {
const selected = availableFontWeights.find(