diff --git a/apps/builder/app/builder/features/style-panel/sections/shared/input-popover.tsx b/apps/builder/app/builder/features/style-panel/sections/shared/input-popover.tsx index f2a4d7b590..3df535cd5d 100644 --- a/apps/builder/app/builder/features/style-panel/sections/shared/input-popover.tsx +++ b/apps/builder/app/builder/features/style-panel/sections/shared/input-popover.tsx @@ -45,11 +45,13 @@ const Input = ({ return ( $availableUnitVariables.get()} + fieldSizing="content" onChange={(styleValue) => { setIntermediateValue(styleValue); const activeProperties = getActiveProperties(); @@ -176,7 +178,7 @@ export const InputPopover = ({ description={propertyDescriptions[property]} properties={[property]} /> - + { const value = props.intermediateValue ?? props.value ?? initialValue; @@ -921,7 +923,7 @@ export const CssValueInput = ({ } css={{ cursor: "default", - minWidth: "2em", + minWidth, "&:hover": { [cssButtonDisplay]: "block", },