소스 검색

remove unnecessary styles

Aykut Saraç 3 년 전
부모
커밋
3641b03d8d
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  1. 1 9
      src/containers/LiveEditor/CustomNode/styles.tsx

+ 1 - 9
src/containers/LiveEditor/CustomNode/styles.tsx

@@ -1,7 +1,6 @@
 import styled from "styled-components";
 
 export const StyledTextWrapper = styled.div`
-  position: fixed;
   display: flex;
   justify-content: center;
   align-items: center;
@@ -24,14 +23,7 @@ export const StyledText = styled.pre<{
   color: ${({ theme }) => theme.SILVER};
 `;
 
-export const StyledForeignObject = styled.foreignObject<{
-  width: number;
-  height: number;
-}>`
-  pointer-events: "none" !important;
-  width: ${({ width }) => width + "px"};
-  height: ${({ height }) => height + "px"};
-`;
+export const StyledForeignObject = styled.foreignObject``;
 
 export const StyledKey = styled.span<{
   objectKey?: boolean;