|
|
|
@ -24,7 +24,10 @@ const addBuilderPreviewStyles = (node, styleString, componentId) => { |
|
|
|
if (componentId === get(builderStore).selectedComponentId) { |
|
|
|
const style = window.getComputedStyle(node) |
|
|
|
const property = style?.display === "table-row" ? "outline" : "border" |
|
|
|
return styleString + `;${property}: 2px solid #4285f4 !important;` |
|
|
|
return ( |
|
|
|
styleString + |
|
|
|
`;${property}: 2px solid #4285f4 !important; border-radius: 4px !important;` |
|
|
|
) |
|
|
|
} else { |
|
|
|
return styleString |
|
|
|
} |
|
|
|
|