Browse Source

search node style border

AykutSarac 3 years ago
parent
commit
624ead93b6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/containers/LiveEditor/CustomNode/styles.tsx

+ 4 - 0
src/containers/LiveEditor/CustomNode/styles.tsx

@@ -25,6 +25,10 @@ export const StyledText = styled.pre<{
 
 
 export const StyledForeignObject = styled.foreignObject`
 export const StyledForeignObject = styled.foreignObject`
   pointer-events: none;
   pointer-events: none;
+
+  &.searched {
+    border: 1px solid ${({ theme }) => theme.SEAGREEN};
+  }
 `;
 `;
 
 
 export const StyledKey = styled.span<{
 export const StyledKey = styled.span<{