1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

Swap back to border for selected component highlighting from box-shadow

This commit is contained in:
Andrew Kingston 2021-01-06 16:03:45 +00:00
parent ff93d30608
commit fcad9892e0

View file

@ -36,7 +36,7 @@ const addBuilderPreviewStyles = (styleString, componentId, selectable) => {
// Highlighted selected element
if (componentId === state.selectedComponentId) {
str += `;box-shadow: 0 0 0 ${selectedComponentWidth}px ${selectedComponentColor} inset !important;`
str += `;border: ${selectedComponentWidth}px solid ${selectedComponentColor} !important;`
}
}