diff --git a/packages/studio/src/components/editor/PromotableControl.tsx b/packages/studio/src/components/editor/PromotableControl.tsx index b9644fbbd..cdfaee4bb 100644 --- a/packages/studio/src/components/editor/PromotableControl.tsx +++ b/packages/studio/src/components/editor/PromotableControl.tsx @@ -76,12 +76,20 @@ export function PromotableControl({ : { bound: false }, ); + // The badge is absolutely positioned over the wrapped control, so its own + // width doesn't push anything — without a matching right-padding reserve on + // the wrapper, a control whose value renders flush to the row's right edge + // (e.g. flat Font/Color rows) sits directly underneath it instead of beside it. + const gutterClass = bound ? "pr-16" : canPromote ? "pr-9" : ""; + return ( -
+
{rendered} {bound && ( ◆ {promote.boundId}