Skip to content

Commit 727aea1

Browse files
authored
Merge pull request #832 from open-data-rescue/staging
Fix css for box position on resize
2 parents 3b9d7a7 + d241213 commit 727aea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/javascript/stylesheets/transcriptions.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
border: 1px solid hsla(0, 100%, 0%, 0.3);
385385
background: hsla(268, 100%, 68%, 0.3);
386386
z-index: 80;
387-
position: absolute;
387+
position: absolute !important;
388388
cursor: default;
389389

390390
&.helper {

app/views/shared/_transcriber_app.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
$box.resizable("destroy");
454454
pageCanvas.enableScrolling()
455455
$(document).off("keyup.draw.resize");
456-
$(document).off("click.draw.resize"); // THIS IS A PROBLEM
456+
$(document).off("click.draw.resize");
457457
});
458458
}
459459
});

0 commit comments

Comments
 (0)