From 5d0b45e25ca28c3e33314579dd371f28c235a8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20Sara=C3=A7?= Date: Sat, 19 Mar 2022 15:37:40 +0300 Subject: [PATCH] remove italic font for child --- src/containers/LiveEditor/CustomNode/styles.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/containers/LiveEditor/CustomNode/styles.tsx b/src/containers/LiveEditor/CustomNode/styles.tsx index 6c292a9..adfcac1 100644 --- a/src/containers/LiveEditor/CustomNode/styles.tsx +++ b/src/containers/LiveEditor/CustomNode/styles.tsx @@ -38,7 +38,6 @@ export const StyledKey = styled.span<{ objectKey?: boolean; parent?: boolean; }>` - font-style: ${({ parent, objectKey }) => !(parent || objectKey) && "italic"}; color: ${({ theme, objectKey, parent }) => parent ? theme.ORANGE : objectKey ? theme.BLURPLE : theme.LIGHTGREEN}; `;