Skip to content

Commit

Permalink
Add after to detect document mousemove
Browse files Browse the repository at this point in the history
  • Loading branch information
agneym committed Dec 17, 2019
1 parent 4a9f024 commit 825543d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions playground/src/Result/Frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ import ErrorDisplay from "./ErrorDisplay";
const Container = styled.div`
position: relative;
height: 100%;
&::after {
content: "";
display: inline-block;
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
top: 0;
left: 0;
}
`;

interface IProps {
Expand Down

0 comments on commit 825543d

Please sign in to comment.