This commit is contained in:
Rainer Simon 2021-04-18 21:11:55 +02:00
parent 5c678f52f1
commit 34c8daadc4
1 changed files with 1 additions and 1 deletions

View File

@ -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`;