Make iD's container a local stacking context (close #7457)

Move some inline CSS to the stylesheet
This commit is contained in:
Quincy Morgan
2020-03-24 16:15:06 -07:00
parent 94c88ee721
commit 14da8cb7a7
2 changed files with 18 additions and 5 deletions
+1 -5
View File
@@ -20,9 +20,6 @@ export function uiCurtain() {
surface = selection
.append('svg')
.attr('class', 'curtain')
.style('z-index', 1000)
.style('pointer-events', 'none')
.style('position', 'absolute')
.style('top', 0)
.style('left', 0);
@@ -34,8 +31,7 @@ export function uiCurtain() {
d3_select(window).on('resize.curtain', resize);
tooltip = selection.append('div')
.attr('class', 'tooltip')
.style('z-index', 1002);
.attr('class', 'tooltip');
tooltip
.append('div')