mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
browser support node content positioning
This commit is contained in:
parent
e0b0591266
commit
615de0c157
@ -1,7 +1,7 @@
|
||||
import styled from "styled-components";
|
||||
|
||||
export const StyledTextWrapper = styled.div`
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -28,7 +28,6 @@ export const StyledForeignObject = styled.foreignObject<{
|
||||
width: number;
|
||||
height: number;
|
||||
}>`
|
||||
position: "relative" !important;
|
||||
pointer-events: "none" !important;
|
||||
width: ${({ width }) => width + "px"};
|
||||
height: ${({ height }) => height + "px"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user