Skip to content

Commit

Permalink
fix(styling): Fix annotation layer styling (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
karelee7 authored Aug 2, 2023
1 parent 1d2bd4b commit 20dce4a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/common/BaseAnnotator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@
@include box-sizing;
@include common-typography;
}

.ba-Layer--drawing,
.ba-Layer--highlight,
.ba-Layer--region {
z-index: 3;
}

.ba-Layer--popup {
z-index: 4;
}
2 changes: 1 addition & 1 deletion src/image/ImageAnnotator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
// transform applied to each of the managers' react mount element to account for
// rotation
.ba-Layer--popup {
z-index: 1;
z-index: 4;
}
}

0 comments on commit 20dce4a

Please sign in to comment.