From fcad9892e04a841f6942dcceac9acc590e5b0cf5 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 6 Jan 2021 16:03:45 +0000 Subject: [PATCH] Swap back to border for selected component highlighting from box-shadow --- packages/client/src/utils/styleable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/utils/styleable.js b/packages/client/src/utils/styleable.js index a3c4cb7ca5..3e934016f6 100644 --- a/packages/client/src/utils/styleable.js +++ b/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;` } }