Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Apr 18, 2021
1 parent 5c678f5 commit 34c8daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/setPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const setPosition = (wrapperEl, editorEl, selectedEl) => {
editorEl.style.bottom = `${containerHeight - annotationTop}px`;
}

// Check if vertical flipp helped, push down if not
// Check if vertical flip helped, push down if not
const currentOrientation = editorEl.children[1].getBoundingClientRect();
if (currentOrientation.top < 0) {
editorEl.style.top = `${-containerBounds.top}px`;
Expand Down

0 comments on commit 34c8daa

Please sign in to comment.