Skip to content

Commit

Permalink
Reset margin on generic elements
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed May 31, 2023
1 parent f6f2116 commit bacc5bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Page/AnnotationLayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
text-align: initial;
pointer-events: auto;
box-sizing: border-box;
margin: 0;
transform-origin: 0 0;
}

Expand Down
3 changes: 2 additions & 1 deletion src/Page/TextLayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
position: absolute;
white-space: pre;
cursor: text;
transform-origin: 0% 0%;
margin: 0;
transform-origin: 0 0;
}

/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
Expand Down

0 comments on commit bacc5bd

Please sign in to comment.