浏览代码

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;