Skip to content

Commit

Permalink
Merge pull request #832 from open-data-rescue/staging
Browse files Browse the repository at this point in the history
Fix css for box position on resize
  • Loading branch information
balen authored Sep 18, 2024
2 parents 3b9d7a7 + d241213 commit 727aea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/transcriptions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
border: 1px solid hsla(0, 100%, 0%, 0.3);
background: hsla(268, 100%, 68%, 0.3);
z-index: 80;
position: absolute;
position: absolute !important;
cursor: default;

&.helper {
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_transcriber_app.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
$box.resizable("destroy");
pageCanvas.enableScrolling()
$(document).off("keyup.draw.resize");
$(document).off("click.draw.resize"); // THIS IS A PROBLEM
$(document).off("click.draw.resize");
});
}
});
Expand Down

0 comments on commit 727aea1

Please sign in to comment.