Skip to content

Commit 6a0e5c7

Browse files
authored
Merge pull request #7013 from StephenMcConnel/BL-14627-CorrectWrongItemsInFront
Items from Correct/Wrong always go in front (BL-14627) (#7013)
2 parents a353175 + c128c3d commit 6a0e5c7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/content/templates/template books/Games

src/content/templates/template books/Games/Games.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
.drag-activity-correct .drag-item-correct,
3838
.drag-activity-wrong .drag-item-wrong {
3939
display: block;
40+
// In front of targets ([data-target-of] has z-index=@convasElementCanvasZIndex+1),
41+
// in case they overlap. See BL-14627.
42+
z-index: @canvasElementCanvasZIndex + 2;
4043
}
4144
// Hide draggable items in the Correct and Wrong tabs. See BL-14532.
4245
// The data-target-of elements will show the positions of the targets and

0 commit comments

Comments
 (0)