Browse Source

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

gh-pages
Andrew Kingston 6 years ago
parent
commit
7abd9b4f4a
  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 // Highlighted selected element
if (componentId === state.selectedComponentId) { 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