Browse Source

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

master
Andrew Kingston 6 years ago
parent
commit
fcad9892e0
  1. 2
      packages/client/src/utils/styleable.js

2
packages/client/src/utils/styleable.js

@ -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;`
}
}

Loading…
Cancel
Save